diff options
author | Lance Stout <lancestout@gmail.com> | 2012-02-17 11:40:07 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-02-17 11:40:07 -0800 |
commit | c43c7be86cafcc5bbea3bb943253e5c2c1162b1d (patch) | |
tree | d62c793c8647f5b3916358da7656a52f595f33c3 /sleekxmpp/xmlstream/stanzabase.py | |
parent | c58462f154adede01b7cc44dd60cc7d0f8beef80 (diff) | |
download | slixmpp-c43c7be86cafcc5bbea3bb943253e5c2c1162b1d.tar.gz slixmpp-c43c7be86cafcc5bbea3bb943253e5c2c1162b1d.tar.bz2 slixmpp-c43c7be86cafcc5bbea3bb943253e5c2c1162b1d.tar.xz slixmpp-c43c7be86cafcc5bbea3bb943253e5c2c1162b1d.zip |
Make last_xml usage a little more explict.
Diffstat (limited to 'sleekxmpp/xmlstream/stanzabase.py')
-rw-r--r-- | sleekxmpp/xmlstream/stanzabase.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py index dff8c997..1a146fa8 100644 --- a/sleekxmpp/xmlstream/stanzabase.py +++ b/sleekxmpp/xmlstream/stanzabase.py @@ -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('/'): |