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

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

Fix import of ordered dict on python 2.7
Fix import of ordered dict on python 2.7

  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
  
+     import sys
+     if sys.version_info < (2, 7):
+         from ordereddict import OrderedDict
+ 
Fix import of ordered dict on python 2.7
## Code Before:
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

## Instruction:
Fix import of ordered dict on python 2.7
## Code After:
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
