Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typo fix lost merging #1627. #1630

Merged
merged 1 commit into from
Mar 18, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions gcloud/pubsub/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Message(object):
:param attributes: Extra metadata associated by the publisher with the
message.
"""
_service_timesstamp = None
_service_timestamp = None

def __init__(self, data, message_id, attributes=None):
self.data = data
Expand Down Expand Up @@ -73,7 +73,7 @@ def service_timestamp(self):
:rtype: string
:returns: timestamp (in UTC timezone) in RFC 3339 format
"""
return self._service_timesstamp
return self._service_timestamp

@classmethod
def from_api_repr(cls, api_repr):
Expand All @@ -86,5 +86,5 @@ def from_api_repr(cls, api_repr):
instance = cls(
data=data, message_id=api_repr['messageId'],
attributes=api_repr.get('attributes'))
instance._service_timesstamp = api_repr.get('publishTimestamp')
instance._service_timestamp = api_repr.get('publishTimestamp')
return instance