Revision 89e4c1c4
b/kamaki/cli/config.py | ||
---|---|---|
39 | 39 |
try: |
40 | 40 |
from collections import OrderedDict |
41 | 41 |
except ImportError: |
42 |
from ordereddict import OrderedDict |
|
42 |
from kamaki.clients.commissioning.utils.ordereddict import OrderedDict
|
|
43 | 43 |
|
44 | 44 |
|
45 | 45 |
# Path to the file that stores the configuration |
b/setup.py | ||
---|---|---|
47 | 47 |
if version_info[:1] == (2, 6): |
48 | 48 |
requires.append('argparse') |
49 | 49 |
|
50 |
if not hasattr(collections, "OrderedDict"): # Python 2.6 |
|
51 |
requires.append("ordereddict") |
|
52 |
|
|
53 | 50 |
setup( |
54 | 51 |
name='kamaki', |
55 | 52 |
version=kamaki.__version__, |
Also available in: Unified diff