summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-01-15 17:15:33 -0500
committerLance Stout <lancestout@gmail.com>2011-01-15 17:15:33 -0500
commitead3af31351c3468e27307ce1999d325d7f17ca9 (patch)
tree1a1a63295779f37c18c5bb0024386c782eccedc6
parenta2891d760867c00f222ff4323b107378cd7a3a3d (diff)
downloadslixmpp-ead3af31351c3468e27307ce1999d325d7f17ca9.tar.gz
slixmpp-ead3af31351c3468e27307ce1999d325d7f17ca9.tar.bz2
slixmpp-ead3af31351c3468e27307ce1999d325d7f17ca9.tar.xz
slixmpp-ead3af31351c3468e27307ce1999d325d7f17ca9.zip
Make it easier to import OrderedDict
-rw-r--r--sleekxmpp/thirdparty/__init__.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/sleekxmpp/thirdparty/__init__.py b/sleekxmpp/thirdparty/__init__.py
index e69de29b..4e9d8474 100644
--- a/sleekxmpp/thirdparty/__init__.py
+++ b/sleekxmpp/thirdparty/__init__.py
@@ -0,0 +1,4 @@
+try:
+ from ordereddict import OrderedDict
+except:
+ from sleekxmpp.thirdparty.ordereddict import OrderedDict