summaryrefslogtreecommitdiff
path: root/cinderclient/client.py
diff options
context:
space:
mode:
authorSean McGinnis <sean.mcginnis@gmail.com>2018-07-23 13:55:36 -0500
committerSean McGinnis <sean.mcginnis@gmail.com>2018-07-23 14:05:13 -0500
commit258586fb184b9db905e883f21ff636ee3360a992 (patch)
tree9e565ee9ddc8d1dc57a66a7686b07e5a7ead6e97 /cinderclient/client.py
parent4536b2fb9f8d896fc5b46bd5cfe7ca19167ce5bc (diff)
downloadpython-cinderclient-258586fb184b9db905e883f21ff636ee3360a992.tar.gz
Update pylint to work with python 3
The pylint job was switched over to run under python 3, but the job is not voting and it was apparently missed that the conversion was causing it to fail. This updates the version of pylint to one that is actually supported by python 3 and makes tweaks to our script to for the minor changes between versions. Single character change to get rid of the more strict py3 regex string escape character format. Change-Id: I93124b62c5ee177815457b32f55f5453fc3d387e Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Diffstat (limited to 'cinderclient/client.py')
-rw-r--r--cinderclient/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cinderclient/client.py b/cinderclient/client.py
index 9f6febe..c4626a9 100644
--- a/cinderclient/client.py
+++ b/cinderclient/client.py
@@ -69,7 +69,7 @@ REQ_ID_HEADER = 'X-OpenStack-Request-ID'
# tell keystoneclient that we can ignore the /v1|v2/{project_id} component of
# the service catalog when doing discovery lookups
for svc in ('volume', 'volumev2', 'volumev3'):
- discover.add_catalog_discover_hack(svc, re.compile('/v[12]/\w+/?$'), '/')
+ discover.add_catalog_discover_hack(svc, re.compile(r'/v[12]/\w+/?$'), '/')
def get_server_version(url):