| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Removing the Rackspace Auth references that are not
supported by an openstack deployment.
Co-Authored-By: Craig Vyvial <cp16net@gmail.com>
Change-Id: I7e630a77eaeb31de0962b31bc2f86becf2975dd8
Closes-Bug: #1401804
|
| |
|
|
|
|
|
| |
The name of the function is wrongly
defined and is corrected
Change-Id: I125ebb67544f40dbad6f838765744e0e077d6f01
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Updated the hacking version as per global-requirements.
Fixed some of new appearing hacking rules, as listed follows:
- E128 continuation line under-indented for visual indent
- E265 block comment should start with '# '
- E713 test for membership should be 'not in'
- H238 old style class declaration, use new style (inherit from `object`)
Rules which are not yet fixed have been incorporated to ignorelist
- H405 Multi line docstrings should start with a one line summary
followed by an empty line
- H501 Do not use locals() or self.__dict__ for formatting strings
Change-Id: I885c6fa8ad0e6a98f7a8479f3441ed08ed2cbaa6
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
Implements: blueprint trove-metadata
Change-Id: I4e498844afd2d2730fad2176dccaf1d61d8798c1
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* E265 block comment should start with '# '
* E128 continuation line under-indented for visual indent
* E713 test for membership should be 'not in'
Tested with pep8 version 1.5.6 (2014-04-14).
Change-Id: If2853c79bea91ebef5cd97dff66788b46b174a9a
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
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
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Replace assertEqual(None, *) with assertIsNone in tests to have
more clear messages in case of failure.
Change-Id: Ifbb144e26b62790d8b8ba9b5c3eea7d04844ee19
Closes-Bug:#1280522
|
| |/
|
|
|
|
|
|
|
|
|
| |
No need to set tabstop tons of times, this can be set in your vimrc
file instead.
More disucssion:
http://openstack.10931.n7.nabble.com/Remove-vim-modelines-td21780.html
Change-Id: I45766d91f0c0b3622bbdc7dc5517497c87ebee8c
Closes-Bug: #1229324
|
| |
|
|
|
|
|
| |
Fixed misspelling of common words found by the 'misspellings' tool.
Change-Id: I8e03379f92b62fd4856bbc74b7e4641226a403d3
Closes-Bug: #1257531
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
| |
Change-Id: If229aa3f6e1009e1abfba13aba3970bdf2dd3761
closes-bug: #1255885
|
| |
|
|
|
| |
fixes bug 1243452
Change-Id: Ia51e6d48e486baa818ebe3108d37bb1de537702d
|
| |
|
|
|
|
|
|
|
| |
Use six.iteritems() in for loop.
Use next() built-in function to return next item.
Partial implements: blueprint py33-support
Change-Id: Idff28608232ad9a41dc63d397d88e363ffde8193
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All tests should be included in testr.
In test_common.py, the testr command line will be read for parsing,
finally emit error message:
run.py: error: no such option: -t
we should mock the sys.argv in setUp().
The analysis is here
--------------------
troveclient/compat/common.py: CommandsBase
254 def _parse_options(self, parser):
255 opts, args = parser.parse_args() <-- 1. no arg is passed
/usr/lib/python2.7/optparse.py
1361 def _get_args(self, args):
1362 if args is None:
1363 return sys.argv[1:] <-- 3. cmdline(testr command) is read
1364 else:
1365 return args[:]
1367 def parse_args(self, args=None, values=None):
...
1381 rargs = self._get_args(args) <-- 2. args is None
Close-Bug #1241845
Change-Id: I092db96d1b6bb31c41e6ba4c5fc9606e3f8ac087
|
| |
|
|
| |
Change-Id: Iff664cef5ec580de6a33db1503a6e567701418a3
|
|
|
These depends are compat only. They dont need to be listed as deps.
Change-Id: Ia5718865100148d149e9c7657ace78cb08cacbac
|