Make last_xml usage a little more explict.
This commit is contained in:
parent
c58462f154
commit
c43c7be86c
1 changed files with 1 additions and 0 deletions
|
@ -352,6 +352,7 @@ class ElementBase(object):
|
|||
if self.xml is None:
|
||||
self.xml = xml
|
||||
|
||||
last_xml = self.xml
|
||||
if self.xml is None:
|
||||
# Generate XML from the stanza definition
|
||||
for ename in self.name.split('/'):
|
||||
|
|
Loading…
Reference in a new issue