summaryrefslogtreecommitdiff
path: root/sleekxmpp
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2012-02-17 11:40:07 -0800
committerLance Stout <lancestout@gmail.com>2012-02-17 11:40:07 -0800
commitc43c7be86cafcc5bbea3bb943253e5c2c1162b1d (patch)
treed62c793c8647f5b3916358da7656a52f595f33c3 /sleekxmpp
parentc58462f154adede01b7cc44dd60cc7d0f8beef80 (diff)
downloadslixmpp-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')
-rw-r--r--sleekxmpp/xmlstream/stanzabase.py1
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('/'):