from __future__ import absolute_import

from collections import *

from .version_info import PY2

if PY2:
    from UserString import *
    from UserList import *

    import sys
    if sys.version_info < (2, 7):
        from ordereddict import OrderedDict

from __future__ import absolute_import

from collections import *

from .version_info import PY2

if PY2:
    from UserString import *
    from UserList import *
    from ordereddict import OrderedDict

--- 
+++ 
@@ -7,4 +7,7 @@
 if PY2:
     from UserString import *
     from UserList import *
-    from ordereddict import OrderedDict
+
+    import sys
+    if sys.version_info < (2, 7):
+        from ordereddict import OrderedDict
Fix import of ordered dict on python 2.7
