summaryrefslogtreecommitdiff
path: root/glanceclient/common
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.com>2020-04-02 15:40:21 +0200
committerAndreas Jaeger <aj@suse.com>2020-04-02 15:48:09 +0200
commit82da2378eaf1e2283ed623760d065cc972dd0871 (patch)
treefc218fd7bc0842837e665ebd403965d1419f20f7 /glanceclient/common
parent6b5a16302218400650458738899c1fcbd8f4abfd (diff)
downloadpython-glanceclient-82da2378eaf1e2283ed623760d065cc972dd0871.tar.gz
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Remove hacking and friends from lower-constraints, they are not needed for installation. Change-Id: I5ae47a7b11ff29a301e440c15daf30db7738485b
Diffstat (limited to 'glanceclient/common')
-rw-r--r--glanceclient/common/http.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/glanceclient/common/http.py b/glanceclient/common/http.py
index 78c4bc5..6973f60 100644
--- a/glanceclient/common/http.py
+++ b/glanceclient/common/http.py
@@ -177,7 +177,7 @@ class HTTPClient(_BaseHTTPClient):
if kwargs.get('insecure', False) is True:
self.session.verify = False
else:
- if kwargs.get('cacert', None) is not '':
+ if kwargs.get('cacert', None) != '':
self.session.verify = kwargs.get('cacert', True)
self.session.cert = (kwargs.get('cert_file'),