Adjust first level indenting in ElementBase to prepare for cleanup.

This commit is contained in:
Lance Stout 2010-08-13 10:15:52 -04:00
parent b0fb205c16
commit 747001d33c

View file

@ -316,9 +316,9 @@ class ElementBase(object):
def __repr__(self):
return self.__str__()
#def __del__(self): #prevents garbage collection of reference cycle
# if self.parent is not None:
# self.parent.xml.remove(self.xml)
#def __del__(self): #prevents garbage collection of reference cycle
# if self.parent is not None:
# self.parent.xml.remove(self.xml)
class StanzaBase(ElementBase):
name = 'stanza'