3.8.2-0ubuntu2 produces SyntaxWarning

Bug #1870937 reported by Jack Howarth
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
hplip (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The installation of the new 3.8.2-0ubuntu2 update in Ubuntu 20.04 produces a series of warning...

Setting up python3 (3.8.2-0ubuntu2) ...
running python rtupdate hooks for python3.8...
/usr/share/hplip/base/utils.py:2060: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if weburl is "" or weburl is None:
/usr/share/hplip/check-plugin.py:116: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if log_level is 'debug':
/usr/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if 'getfacl' not in g and '' is not g and 'file' not in g:
/usr/share/hplip/installer/core_install.py:2037: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if home_dir is "":
/usr/share/hplip/ui5/devmgr_ext.py:15: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.latest_available_version is not "":
/usr/share/hplip/ui5/devmgr_ext.py:37: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if self.latest_available_version is not "":
running python post-rtupdate hooks for python3.8...

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, it has already bug submitted as bug #1870019

affects: python3.8 (Ubuntu) → hplip (Ubuntu)
Changed in hplip (Ubuntu):
status: New → Invalid
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.