mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-23 19:19:53 +00:00
stanzabase indent fix
This commit is contained in:
parent
95d2614f21
commit
7383f72367
2 changed files with 6 additions and 4 deletions
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
*.pyc
|
||||
build/
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue