| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Its well known fact that python default values initialized only once
at the stage if creation function. So if we call function with parameter
foo=[] as default value and change foo.append("bar") at the next call of
the function default value would be ["bar"]. It will save.
Change-Id: Iba9e55bc2d4dfd811ce7d068b6a9cceae7c000d6
|
| |\ |
|
| | |
| |
| |
| | |
Change-Id: Ib563a9817f6f24ce0d72fe7a8ba96cb6e35c4e46
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The client passes cacert incorrectly, CA cert need to be passed
in verify parameter to requests library. Also at present, key file
is not being used, which if it is supplied need to be passed as a
tuple in cert parameter
Python requests library relevant doc link
http://docs.python-requests.org/en/latest/user/advanced/#ssl-cert-verification
Change-Id: Ie71e760bce6a78ed1444373adfa0a133e82ec434
Closes-Bug: 1408372
|
| |/
|
|
| |
Change-Id: I594234648a37d283559a0365969a7fe3609079f8
|
| |
|
|
|
|
|
|
|
| |
In the process of unification of the clients code we should
reuse common functionality from Oslo.
bp common-client-library-2
Change-Id: I0e027c33ee42b6de032d33269caeea33e7837f40
|
| |
|
|
|
|
|
|
|
|
| |
Currently, OpenStack Proposal Bot tries to update requirements with
global requirements, while the upgraded hacking has introduced some
new rules which are not fully handled by current code.
This patch fixes some simple rules which are quite straight-forward.
Change-Id: If8334f69fb1ad34fbbd6ad898e0e92eb3f81e95a
|
| |
|
|
|
|
|
|
|
|
|
| |
* E122 continuation line missing indentation or outdented
* E126 continuation line over-indented for hanging indent
* E128 continuation line under-indented for visual indent
* E265 block comment should start with '# '
Tested with pep8 version 1.5.6 (2014-04-14).
Change-Id: Iaea72c74d3678061b0ac837eb8fe8c85a883bb4a
|
| |
|
|
|
|
|
|
|
| |
In the process of unification of the clients code we should use
composition to allow easier replacement with common HTTPClient.
bp common-client-library-2
Change-Id: I98d2bc89d5b1a36c30771923cd1cda7925e563d5
|
| |
|
|
|
|
|
|
|
|
| |
six.u(text)
A fake unicode literal. text should always be a normal string literal.
In Python 2, u() returns unicode, and in Python 3, a string.
Partial Implement: blueprint py33-support
Change-Id: I02849e540c1fbb1f8b02bcbfa4d9be4f60279926
|
| |
|
|
|
|
|
|
|
| |
Fix the error:
AttributeError: 'dict' object has no attribute 'iteritems'
Partial Implement: blueprint py33-support
Change-Id: I5dff17d1df01d6583f882f818434804d65726c51
|
| |
|
|
|
| |
Change-Id: Ia007da282714d8ee7337fd3b51f6dcc3b64d7ec3
Fixes-Bug: #1214176
|
| |
|
|
|
|
|
|
|
|
| |
Fixes bug 1207441
Force the re-evaluation of the keystoneclient.auth_token property
so as to avoid missing out on the in-built refresh logic when expiry
is imminent.
Change-Id: I8319e9e9a71e33e089fbe2fbc812d2b6c15da927
|
| |
|
|
|
|
|
|
| |
Enable Pyflakes tests. Fix those warnings that occur.
Also explicitely list the pep8 warnings that currently
fail.
Change-Id: Icfd7bf23007a99187cfee66cbd630e0e885bf7d3
|
| |
|
|
|
|
| |
This is an effort to get the pep ignores to be closer to nova.
Change-Id: I451df579bbead00a8ff2c301c1a84e7c0a896002
|
| |
|
|
|
|
| |
Fixes: bug #1133823
Change-Id: I98691379c9c0adf78ef9ab761c2f2b203cd1ee6c
|
| |
|
|
|
|
| |
Added timestamp support for resource/sample api. Fixed bug #1118542.
Change-Id: I644c480ca00f57549dc66bd387721c25d3b353c4
|
| |
|
|
|
|
|
| |
Added project-id support in resource api and source-id support in user
api.
Change-Id: I3295a36a4b3a57e9451cc042d542ead1354f8e61
|
| |
|
|
| |
Change-Id: I2ac7f9af13a38d1de0d61585f75e5955330284b7
|
| |
|
|
|
|
|
|
| |
pep8 1.3.3 is pretty much standard across the openstack
projects. Pin pep8 1.3.3 and fix associated warnings/errors.
Change-Id: I7230857889d261320a0dab2c261c9f85dc0ee602
Signed-off-by: Chuck Short <chuck.short@canonical.com>
|
| |
|
|
| |
Change-Id: Iade319df3ab503e392f4216b2531b20642a20c31
|
| |
|
|
|
| |
Change-Id: I8c6a1c4bc4dec052fbb5f2544f519253bc8be143
Signed-off-by: Julien Danjou <julien@danjou.info>
|
| |
|
|
|
|
| |
Just rename Event to Sample
This reverts commit 46cedbcf1e0f7a329b8a895e1f97ca8b817dd319.
|
| |
|
|
| |
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
| |
|
|
| |
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|
|
|
Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
|