Fix the message __repr__ formatter
Change-Id: I64d290a2e35a342e6a8d999e1a78f3901e6b7b6f
This commit is contained in:
@@ -104,7 +104,7 @@ class Message(object):
|
|||||||
self._id = href.split('/')[-1]
|
self._id = href.split('/')[-1]
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return '<Message id:%(id)s ttl:%(ttl)s>'.format(id=self._id,
|
return '<Message id:{id} ttl:{ttl}>'.format(id=self._id,
|
||||||
ttl=self.ttl)
|
ttl=self.ttl)
|
||||||
|
|
||||||
def delete(self):
|
def delete(self):
|
||||||
|
Reference in New Issue
Block a user