[Bug 1885236] [NEW] focal upgrade python3.8 bugs

Harry Coin 1885236 at bugs.launchpad.net
Fri Jun 26 01:52:53 UTC 2020


Public bug reported:

Setting up python3-cephfs (15.2.1-0ubuntu2) ...
/usr/lib/python3/dist-packages/ceph_volume_client.py:358: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  group_id = group_id if group_id is not 'None' else None
/usr/lib/python3/dist-packages/ceph_volume_client.py:381: SyntaxWarning: "is" with a literal. Did you mean "=="?
  readonly = True if access_level is 'r' else False
/usr/lib/python3/dist-packages/ceph_volume_client.py:1102: SyntaxWarning: "is" with a literal. Did you mean "=="?
  unwanted_access_level = 'r' if want_access_level is 'rw' else 'rw'

** Affects: ceph (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ceph in Ubuntu.
https://bugs.launchpad.net/bugs/1885236

Title:
  focal upgrade python3.8 bugs

Status in ceph package in Ubuntu:
  New

Bug description:
  Setting up python3-cephfs (15.2.1-0ubuntu2) ...
  /usr/lib/python3/dist-packages/ceph_volume_client.py:358: SyntaxWarning: "is not" with a literal. Did you mean "!="?
    group_id = group_id if group_id is not 'None' else None
  /usr/lib/python3/dist-packages/ceph_volume_client.py:381: SyntaxWarning: "is" with a literal. Did you mean "=="?
    readonly = True if access_level is 'r' else False
  /usr/lib/python3/dist-packages/ceph_volume_client.py:1102: SyntaxWarning: "is" with a literal. Did you mean "=="?
    unwanted_access_level = 'r' if want_access_level is 'rw' else 'rw'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ceph/+bug/1885236/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list