diff --git a/src/common/atom.py b/src/common/atom.py index 1476cfd44..18122e9d1 100644 --- a/src/common/atom.py +++ b/src/common/atom.py @@ -64,7 +64,7 @@ class Entry(xmpp.Node, object): xmpp.Node.__init__(self, 'entry', node=node) def __repr__(self): - return '' % self.id + return '' % self.getAttr('id') class OldEntry(xmpp.Node, object): ''' Parser for feeds from pubsub.com. They use old Atom 0.3 format with @@ -74,7 +74,7 @@ class OldEntry(xmpp.Node, object): xmpp.Node.__init__(self, 'entry', node=node) def __repr__(self): - return '' % self.id + return '' % self.getAttr('id') def get_feed_title(self): ''' Returns title of feed, where the entry was created. The result is the feed name