Make last_xml usage a little more explict.

This commit is contained in:
Lance Stout 2012-02-17 11:40:07 -08:00
parent c58462f154
commit c43c7be86c

View file

@ -352,6 +352,7 @@ class ElementBase(object):
if self.xml is None: if self.xml is None:
self.xml = xml self.xml = xml
last_xml = self.xml
if self.xml is None: if self.xml is None:
# Generate XML from the stanza definition # Generate XML from the stanza definition
for ename in self.name.split('/'): for ename in self.name.split('/'):