summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/handler
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2010-01-08 06:03:02 +0000
committerNathan Fritz <fritzy@netflint.net>2010-01-08 06:03:02 +0000
commita8ff3586d3852fc70b1932a579cf8a28ce920d5c (patch)
tree1422863339fedaf3e0d5039dad0048cf2b677338 /sleekxmpp/xmlstream/handler
parent0af468b435a3c24792f8d70ef802193ff08f26af (diff)
downloadslixmpp-a8ff3586d3852fc70b1932a579cf8a28ce920d5c.tar.gz
slixmpp-a8ff3586d3852fc70b1932a579cf8a28ce920d5c.tar.bz2
slixmpp-a8ff3586d3852fc70b1932a579cf8a28ce920d5c.tar.xz
slixmpp-a8ff3586d3852fc70b1932a579cf8a28ce920d5c.zip
* python 2.6 compatibility
Diffstat (limited to 'sleekxmpp/xmlstream/handler')
-rw-r--r--sleekxmpp/xmlstream/handler/waiter.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/sleekxmpp/xmlstream/handler/waiter.py b/sleekxmpp/xmlstream/handler/waiter.py
index ba296386..f2303cd5 100644
--- a/sleekxmpp/xmlstream/handler/waiter.py
+++ b/sleekxmpp/xmlstream/handler/waiter.py
@@ -1,5 +1,8 @@
from . import base
-import queue
+try:
+ import queue
+except ImportError:
+ import Queue as queue
import logging
from .. stanzabase import StanzaBase