diff options
author | Lance Stout <lancestout@gmail.com> | 2013-01-21 02:34:22 -0800 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-01-21 02:34:22 -0800 |
commit | bad405bea96405eb952888dc6996b8b40be85ac4 (patch) | |
tree | b5998707d5d8d836eaa807f1e755047c1aed5c48 /sleekxmpp/xmlstream/stanzabase.py | |
parent | 648f3f978a84445ed188be055453ac4cab3ed4f5 (diff) | |
parent | 4f9a95b011277ab64a137aceeb4df2e9fc0f1e25 (diff) | |
download | slixmpp-bad405bea96405eb952888dc6996b8b40be85ac4.tar.gz slixmpp-bad405bea96405eb952888dc6996b8b40be85ac4.tar.bz2 slixmpp-bad405bea96405eb952888dc6996b8b40be85ac4.tar.xz slixmpp-bad405bea96405eb952888dc6996b8b40be85ac4.zip |
Merge branch 'master' into develop
Diffstat (limited to 'sleekxmpp/xmlstream/stanzabase.py')
-rw-r--r-- | sleekxmpp/xmlstream/stanzabase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py index 122d7eb4..120373db 100644 --- a/sleekxmpp/xmlstream/stanzabase.py +++ b/sleekxmpp/xmlstream/stanzabase.py @@ -192,7 +192,7 @@ def fix_ns(xpath, split=False, propagate_ns=True, default_ns=''): for element in elements: if element: # Skip empty entry artifacts from splitting. - if propagate_ns: + if propagate_ns and element[0] != '*': tag = '{%s}%s' % (namespace, element) else: tag = element |