Skip to content

Commit 2ab01f4

Browse files
committed
Merge pull request #1630 from tseaver/timesstamp-typo
Typo fix lost merging #1627.
2 parents 72d0bba + 1b9b918 commit 2ab01f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gcloud/pubsub/message.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class Message(object):
3535
:param attributes: Extra metadata associated by the publisher with the
3636
message.
3737
"""
38-
_service_timesstamp = None
38+
_service_timestamp = None
3939

4040
def __init__(self, data, message_id, attributes=None):
4141
self.data = data
@@ -73,7 +73,7 @@ def service_timestamp(self):
7373
:rtype: string
7474
:returns: timestamp (in UTC timezone) in RFC 3339 format
7575
"""
76-
return self._service_timesstamp
76+
return self._service_timestamp
7777

7878
@classmethod
7979
def from_api_repr(cls, api_repr):
@@ -86,5 +86,5 @@ def from_api_repr(cls, api_repr):
8686
instance = cls(
8787
data=data, message_id=api_repr['messageId'],
8888
attributes=api_repr.get('attributes'))
89-
instance._service_timesstamp = api_repr.get('publishTimestamp')
89+
instance._service_timestamp = api_repr.get('publishTimestamp')
9090
return instance

0 commit comments

Comments
 (0)