From ead3af31351c3468e27307ce1999d325d7f17ca9 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 15 Jan 2011 17:15:33 -0500 Subject: [PATCH] Make it easier to import OrderedDict --- sleekxmpp/thirdparty/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sleekxmpp/thirdparty/__init__.py b/sleekxmpp/thirdparty/__init__.py index e69de29..4e9d847 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