summaryrefslogtreecommitdiff
path: root/troveclient/compat/utils.py
Commit message (Collapse)AuthorAgeFilesLines
* Use strutils.to_slug() instead of utils.slugify()Christian Berendt2016-09-061-17/+0
| | | | | | | | | | Oslo provides a function, to_slug() in strutils that is substantially similar to slugify() provided in utils by python-troveclient. Remove slugify() and use to_slug() instead. Change-Id: I97bc7cfc2c0e7d14e7617037bff431cdc1eee50f Closes-Bug: #1266127 Author: Christian Berendt <berendt@b1-systems.de>
* Drop use of 'oslo' namespace packageDoug Hellmann2015-05-061-1/+1
| | | | | | | | | | | | | | | | | | | | | The Oslo libraries have moved all of their code out of the 'oslo' namespace package into per-library packages. The namespace package was retained during kilo for backwards compatibility, but will be removed by the liberty-2 milestone. This change removes the use of the namespace package, replacing it with the new package names. The patches in the libraries will be put on hold until application patches have landed, or L2, whichever comes first. At that point, new versions of the libraries without namespace packages will be released as a major version update. Please merge this patch, or an equivalent, before L2 to avoid problems with those library releases. Blueprint: remove-namespace-packages https://blueprints.launchpad.net/oslo-incubator/+spec/remove-namespace-packages Change-Id: I2a8caa859830b3416bfe54e4261dd3415ac5a76a
* Handle obsolete and unused oslo modulesAmrith Kumar2015-01-231-1/+1
| | | | | | | | The python-troveclient module still had references to strutils, and gettextutils which are now obsolete. Change-Id: Ia54a565c00966b0a1cb5f18c6e17e1237b2bfee6 Partial-Bug: #1380789
* Enabled F821, H306, H402, and H404 flake8 ruleSushil Kumar2014-05-091-4/+6
| | | | | | | | | | | | | | Reasons: - F821 is disabled. - H306 is disabled. - H402 is disabled. - H404 is disabled. Changes: - Updates tox.ini to enable F821, H306, H402 and H404 rules. - Updates code for F821, H306, H402 and H404 violation. Change-Id: I772270bb833ac774e080fc63e330d6b333f23de2
* Removes unused import statementsDebasish Chowdhury2013-11-301-1/+0
| | | | | Change-Id: If229aa3f6e1009e1abfba13aba3970bdf2dd3761 closes-bug: #1255885
* Make use of strutils.to_slug in slugify()Kui Shi2013-10-231-10/+5
| | | | | | | | | Align with the change: 2070d4267c2a88b3493400b358003c8fa13778a6 Close-Bug #1241256 Change-Id: Idc16d75258baa1f5ee05ff48bfadc358c7655e55
* Massive refactoring to the troveclientMichael Basnight2013-10-091-0/+67
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