summaryrefslogtreecommitdiff
path: root/troveclient/compat/common.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Get rid of XML related trove client bindings"1.0.4Jenkins2014-03-271-9/+3
|\
| * Get rid of XML related trove client bindingsNikhil Manchanda2014-03-161-9/+3
| | | | | | | | | | | | | | | | We will no longer support XML for the trove API; it behooves us to remove XML related code, and clean up the trove client. Partially implements bp: destroy-xml-api Change-Id: I58f95e81f3e4bc4bad277ff2a48abfced2b48199
* | Improve help stringsAndreas Jaeger2014-03-111-6/+6
|/ | | | | | | | | | Make help strings more consistent: * Fix spelling and capitalization * Add "." at end of each string * Fix spaces. * Improve wording Change-Id: I22e84ebecb87f1c803cfb8369db3798fe56903ff
* Fixed misspellings of common wordsSushil Kumar2014-01-141-2/+2
| | | | | | | Fixed misspelling of common words found by the 'misspellings' tool. Change-Id: I8e03379f92b62fd4856bbc74b7e4641226a403d3 Closes-Bug: #1257531
* Tighten flake8 checks in GatingDirk Mueller2013-12-181-4/+7
| | | | | | | | | | | There are a few checks that already pass: - F401 - unused imports of modules - F403 - ‘from module import *’ used; unable to detect undefined names And there are two (H401 and H403) that can be made passing easily. Enable gating on all of them. Change-Id: I9d3c49ecea1b2171d194ab6cc751316c252081e8
* Ignore fewer PEP8/flake8 rulesDenis Makogon2013-12-101-8/+8
| | | | | | | | | | | | Reasons: - code should be pythonicaly clean, that is why number of ignored rules should reduced Changes: - E125, F811, H102, H103, F201, H23, H302, F841, H301, H702, H703 rules are now enabled Change-Id: Ibf4025162244d3c2f1278b49a76ec1527a729042
* Use six.iteritems() in for loopKui Shi2013-10-231-2/+3
| | | | | | | | | Use six.iteritems() in for loop. Use next() built-in function to return next item. Partial implements: blueprint py33-support Change-Id: Idff28608232ad9a41dc63d397d88e363ffde8193
* Resolve compatability for troveclient/compatKui Shi2013-10-231-12/+12
| | | | | | | | | transform print statement to print function import urlutils from openstack common Partial implements: blueprint py33-support Change-Id: I2491fb6719b21195abb6ea5602ddb8c86487d100
* Massive refactoring to the troveclientMichael Basnight2013-10-091-0/+429
The new client adheres to the standards of the other clients now. It prints out tables, uses ENVVAR's for auth, no longer stores pickled json in a login token, uses openstack common, and moves the cli operations into a v1 module for the future of trove when it has a v2 api. Please note for compatibility, the troveclient.compat module has the old cli. In order to deploy it, amend the setup.cfg to include the compat module. implements blueprint cli-compliance-upgrade Change-Id: Ie69d9dbc75ce90496da316244c97acca1877a327