focal upgrade python3.8 bugs

Bug #1885236 reported by Harry Coin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ceph (Ubuntu)
New
Undecided
Unassigned

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 post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.