summaryrefslogtreecommitdiff
path: root/sleekxmpp/test/sleektest.py
diff options
context:
space:
mode:
authorNathan Fritz <nathan@andyet.net>2010-10-14 10:58:07 -0700
committerNathan Fritz <nathan@andyet.net>2010-10-14 10:58:07 -0700
commit0d0b963fe543169d069a2a69ae79735d404a2e33 (patch)
tree853d270219a799c884f26f3ed5806e407d5cac58 /sleekxmpp/test/sleektest.py
parenta41a4369c6238f0d479d4190e79df6332c5b98fe (diff)
downloadslixmpp-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.py2
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'}