diff options
| author | Steve Martinelli <stevemar@ca.ibm.com> | 2014-06-16 02:08:59 -0400 |
|---|---|---|
| committer | Steve Martinelli <stevemar@ca.ibm.com> | 2014-06-19 22:14:47 -0400 |
| commit | 1c64e5c1f73b9968002741bb6ac96a2518b2b6f7 (patch) | |
| tree | fa93cdacb5e358e05c23bc64566c39d50911239c /keystoneclient/httpclient.py | |
| parent | b2a0c5bc8238f8c180c05d9c250288854e8a1070 (diff) | |
| download | python-keystoneclient-1c64e5c1f73b9968002741bb6ac96a2518b2b6f7.tar.gz | |
Update keystoneclient code to account for hacking 0.9.2
Fixed most of the errors reported back from hacking 0.9.2.
Specifically:
- E128 continuation line under-indented for visual indent
- E251 unexpected spaces around keyword / parameter equals
- E265 block comment should start with '# '
- H305 imports not grouped correctly
- H307 like imports should be grouped together
- H402 one line docstring needs punctuation
- H904 Wrap long lines in parentheses instead of a backslash
But opted to ignore the following for now:
- E122: continuation line missing indentation or outdented
- H405: multi line docstring summary not separated with an empty line
Change-Id: Ib8e698d85fd598fa91435538657361a1f695ce89
Diffstat (limited to 'keystoneclient/httpclient.py')
| -rw-r--r-- | keystoneclient/httpclient.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/keystoneclient/httpclient.py b/keystoneclient/httpclient.py index 4c9bb24..5f0a2e8 100644 --- a/keystoneclient/httpclient.py +++ b/keystoneclient/httpclient.py @@ -24,8 +24,9 @@ import logging from six.moves.urllib import parse as urlparse try: - import keyring import pickle + + import keyring except ImportError: keyring = None pickle = None |
