mirror of
https://github.com/correl/SleekXMPP.git
synced 2025-03-25 09:16:15 -09:00
Adjust first level indenting in ElementBase to prepare for cleanup.
This commit is contained in:
parent
b0fb205c16
commit
747001d33c
1 changed files with 250 additions and 250 deletions
|
@ -316,9 +316,9 @@ class ElementBase(object):
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return self.__str__()
|
return self.__str__()
|
||||||
|
|
||||||
#def __del__(self): #prevents garbage collection of reference cycle
|
#def __del__(self): #prevents garbage collection of reference cycle
|
||||||
# if self.parent is not None:
|
# if self.parent is not None:
|
||||||
# self.parent.xml.remove(self.xml)
|
# self.parent.xml.remove(self.xml)
|
||||||
|
|
||||||
class StanzaBase(ElementBase):
|
class StanzaBase(ElementBase):
|
||||||
name = 'stanza'
|
name = 'stanza'
|
||||||
|
|
Loading…
Add table
Reference in a new issue