python-magnumclient/magnumclient/common
Christoph Jansen 1a7a781e48 Python 3.4 compatibility
This commit fixes two issues, which make the client work with Python
3.4 and still being compatible with Python 2.7. The first issue is,
that the command line args somehow become a Map instead of list in
Python 3.4. I fixed it by explicitly making argv (sys.argv) a list.
The second issue is in the httpclient.py, where the values of a http
response are of type byte, which cannot be joined by join method of
string. I fixed it by decoding byte to utf-8 string. Additional if
statement satisfies wrong Python 3.4 test behavior.

Change-Id: Ifaf03cbc5512dcbe82cfc37bc0c8471ffdbc7018
Closes-Bug: #1535821
2016-01-21 13:53:38 +01:00
..
__init__.py Add client resources and managers 2014-11-26 09:52:30 +09:00
base.py Add client resources and managers 2014-11-26 09:52:30 +09:00
httpclient.py Python 3.4 compatibility 2016-01-21 13:53:38 +01:00
utils.py Remove references to _i18n and apiclient.exceptions 2015-12-26 00:07:11 -05:00