diff options
author | Nathan Fritz <nathan@andyet.net> | 2010-10-14 10:58:07 -0700 |
---|---|---|
committer | Nathan Fritz <nathan@andyet.net> | 2010-10-14 10:58:07 -0700 |
commit | 0d0b963fe543169d069a2a69ae79735d404a2e33 (patch) | |
tree | 853d270219a799c884f26f3ed5806e407d5cac58 /sleekxmpp/test/sleektest.py | |
parent | a41a4369c6238f0d479d4190e79df6332c5b98fe (diff) | |
download | slixmpp-0d0b963fe543169d069a2a69ae79735d404a2e33.tar.gz slixmpp-0d0b963fe543169d069a2a69ae79735d404a2e33.tar.bz2 slixmpp-0d0b963fe543169d069a2a69ae79735d404a2e33.tar.xz slixmpp-0d0b963fe543169d069a2a69ae79735d404a2e33.zip |
fixed socket name collision in xmlstream.py and fixed python 3.x compatibility
Diffstat (limited to 'sleekxmpp/test/sleektest.py')
-rw-r--r-- | sleekxmpp/test/sleektest.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/test/sleektest.py b/sleekxmpp/test/sleektest.py index 5b2b91e8..9b822343 100644 --- a/sleekxmpp/test/sleektest.py +++ b/sleekxmpp/test/sleektest.py @@ -53,7 +53,7 @@ class SleekTest(unittest.TestCase): try: xml = ET.fromstring(xml_string) return xml - except SyntaxError, e: + except SyntaxError as e: if 'unbound' in e.msg: known_prefixes = { 'stream': 'http://etherx.jabber.org/streams'} |