From 1b9b9186ce5a482b92f36915eac45e373d0166ae Mon Sep 17 00:00:00 2001 From: Tres Seaver Date: Thu, 17 Mar 2016 21:32:27 -0400 Subject: [PATCH] Typo fix lost merging #1627. --- gcloud/pubsub/message.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gcloud/pubsub/message.py b/gcloud/pubsub/message.py index 8d1d2bcd0787..b309950a88d5 100644 --- a/gcloud/pubsub/message.py +++ b/gcloud/pubsub/message.py @@ -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 @@ -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): @@ -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