From ead3af31351c3468e27307ce1999d325d7f17ca9 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Sat, 15 Jan 2011 17:15:33 -0500 Subject: Make it easier to import OrderedDict --- sleekxmpp/thirdparty/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sleekxmpp/thirdparty') 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 -- cgit v1.2.3