This commit ensures docstring follows the docstring convention.
Also enables H301 (one import per line) in flake8.
There is already no violation the source codes.
Change-Id: Icf6ce5bae40b2e6492c060a28587d825a1837b43
Previous _ was monkey patched into builtins whenever
certain modules were imported. This removes that and
simply imports it when it is needed.
Change-Id: I8b7cdc7a8da21ed3e8bc69b18414dfc89e8935b8
* Add hacking to the tox build - a set of flake8 plugins that
perform automatic validation of many HACKING.rst rules.
* This patch configures hacking in the tox build and performs
the mechanical cleanup required to allow the checks to pass.
* See https://pypi.python.org/pypi/hacking
Change-Id: Ib41313b5aae991e6ffef2a89dd69e83985bdc36d
Fix bug 1160704
* httplib2 doesn't work with unicode url and params. So encode all unicode
to utf-8 before request.
* Fix xml serializer doesn't work with unicode
* Decode command argument to unicode in main function
* Exception's message maybe include unicode, decode message to unicode
before logging or print.
* Sync the changing of serializer/deserilizer's code with quantum server code
https://review.openstack.org/#/c/25482/https://review.openstack.org/#/c/25046/https://review.openstack.org/#/c/21410/
* Enable xml test
Change-Id: Ib140e34d54cc916e2ea172e4bad9e4a77388723a
Remove unused methods in quantumclient.common.serializer.XMLDeserializer
that tries to access non existing attributes of xml node:
* find_first_child_named
* extract_text
* find_children_named
Change-Id: I0aff5933fa75e50748e9d0325d898c2f6836fa58
Fixes: bug #1132850
* Moved server-specific functionality found in quantum.common to
the quantum repo.
* Renamed primary package from quantum -> quantumclient.
* Addresses bug 977711 and bug 921933
Change-Id: If34553924c8dfcc6b148c1d91f173a4b81eeb95a