From 7383f72367f5217c76ebb44e49a9753eb4f0aac2 Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Wed, 24 Mar 2010 17:18:39 -0700 Subject: stanzabase indent fix --- sleekxmpp/xmlstream/stanzabase.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'sleekxmpp/xmlstream/stanzabase.py') diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py index a0a3a337..0e9aba8e 100644 --- a/sleekxmpp/xmlstream/stanzabase.py +++ b/sleekxmpp/xmlstream/stanzabase.py @@ -56,10 +56,10 @@ class ElementBase(tostring.ToString): if self.subitem is not None and child.tag == "{%s}%s" % (self.subitem.namespace, self.subitem.name): self.iterables.append(self.subitem(xml=child, parent=self)) - def _getattrib(self): - return self - - attrib = property(_getattrib) # backwards compatibility + + @property + def attrib(self): #backwards compatibility + return self def __iter__(self): self.idx = 0 -- cgit v1.2.3