Skip to content

Commit

Permalink
Adding ordereddict dependency of py26
Browse files Browse the repository at this point in the history
Using the ordereddict package instead of odict
  • Loading branch information
whart222 committed Aug 4, 2016
1 parent 45ccffe commit 0753f48
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyutilib/misc/pyyaml_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
try: # pragma no cover
from collections import OrderedDict
except ImportError: # pragma no cover
from odict import OrderedDict
from ordereddict import OrderedDict
try:
from StringIO import StringIO
except:
Expand Down
2 changes: 1 addition & 1 deletion pyutilib/misc/xmltodict.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#OrderedDict = dict
from collections import OrderedDict
except ImportError: # pragma no cover
from odict import OrderedDict
from ordereddict import OrderedDict

try: # pragma no cover
_basestring = basestring
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def read(*rnames):
requires=[ 'nose', 'six' ]
if sys.version_info < (2,7):
requires.append('argparse')
requires.append('ordereddict')
requires.append('unittest2')

setup(name="PyUtilib",
Expand Down

0 comments on commit 0753f48

Please sign in to comment.