Skip to content

Commit

Permalink
Support same versions of Python as Travis-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquev6 committed Oct 4, 2014
1 parent be7b71c commit 4399ce9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
@@ -1,6 +1,9 @@
language: python
python:
- "2.6"
- "2.7"
- "3.2"
- "3.3"
- "3.4"
install:
- pip install -r requirements.txt
Expand Down
6 changes: 3 additions & 3 deletions LowVoltage/operations.py
Expand Up @@ -15,10 +15,10 @@ def go(self):
return self.__connection.request(self.__operation, self._build())

def _convert_dict(self, attributes):
return {
key: self._convert_value(val)
return dict(
(key, self._convert_value(val))
for key, val in attributes.iteritems()
}
)

def _convert_value(self, value):
if isinstance(value, basestring):
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Expand Up @@ -28,6 +28,8 @@
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.2",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Environment :: Web Environment",
],
Expand Down

0 comments on commit 4399ce9

Please sign in to comment.