Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
89e4c1c4
Commit
89e4c1c4
authored
Jan 30, 2013
by
Stavros Sachtouris
Browse files
Get rid of OrderedDict dependency for python<=2.6
parent
c3857b7d
Changes
2
Hide whitespace changes
Inline
Side-by-side
kamaki/cli/config.py
View file @
89e4c1c4
...
...
@@ -39,7 +39,7 @@ from ConfigParser import RawConfigParser, NoOptionError, NoSectionError
try
:
from
collections
import
OrderedDict
except
ImportError
:
from
ordereddict
import
OrderedDict
from
kamaki.clients.commissioning.utils.
ordereddict
import
OrderedDict
# Path to the file that stores the configuration
...
...
setup.py
View file @
89e4c1c4
...
...
@@ -47,9 +47,6 @@ requires = ['objpool']
if
version_info
[:
1
]
==
(
2
,
6
):
requires
.
append
(
'argparse'
)
if
not
hasattr
(
collections
,
"OrderedDict"
):
# Python 2.6
requires
.
append
(
"ordereddict"
)
setup
(
name
=
'kamaki'
,
version
=
kamaki
.
__version__
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment