2020-03-29 20:21:14 |
Paul Collins |
bug |
|
|
added bug |
2020-03-29 20:21:29 |
Paul Collins |
description |
Every time I run something that uses glanceclient, it emits this annoying error, which I can't do much about:
/usr/lib/python3/dist-packages/glanceclient/common/http.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if kwargs.get('cacert', None) is not '':
This could certainly be
if kwargs.get('cacert', None) != '':
or maybe even
if kwargs.get('cacert', None): |
Every time I run something that uses glanceclient, it emits this annoying warning, which I can't do much about:
/usr/lib/python3/dist-packages/glanceclient/common/http.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if kwargs.get('cacert', None) is not '':
This could certainly be
if kwargs.get('cacert', None) != '':
or maybe even
if kwargs.get('cacert', None): |
|
2020-03-29 20:22:48 |
Paul Collins |
description |
Every time I run something that uses glanceclient, it emits this annoying warning, which I can't do much about:
/usr/lib/python3/dist-packages/glanceclient/common/http.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if kwargs.get('cacert', None) is not '':
This could certainly be
if kwargs.get('cacert', None) != '':
or maybe even
if kwargs.get('cacert', None): |
Every time I run something that uses glanceclient, it emits this annoying warning, which I can't do much about:
/usr/lib/python3/dist-packages/glanceclient/common/http.py:180: SyntaxWarning: "is not" with a literal. Did you mean "!="?
if kwargs.get('cacert', None) is not '':
This could certainly be
if kwargs.get('cacert', None) != '':
or maybe even
if kwargs.get('cacert', None):
---
[agnew(~)] dpkg-query -W python3-glanceclient
python3-glanceclient 1:2.17.0-0ubuntu2
[agnew(~)] lsb_release -rc
Release: 20.04
Codename: focal
[agnew(~)] |
|
2020-03-29 20:23:00 |
Paul Collins |
bug |
|
|
added subscriber The Canonical Sysadmins |
2020-03-30 06:19:15 |
Junien Fridrick |
bug |
|
|
added subscriber Junien Fridrick |
2020-03-31 15:24:32 |
James Page |
python-glanceclient (Ubuntu): status |
New |
Triaged |
|
2020-03-31 15:24:35 |
James Page |
python-glanceclient (Ubuntu): importance |
Undecided |
Low |
|