[Bug 1870937] [NEW] 3.8.2-0ubuntu2 produces SyntaxWarning

Jack Howarth 1870937 at bugs.launchpad.net
Sun Apr 5 15:30:23 UTC 2020


Public bug reported:

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...

** Affects: python3.8 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python3.8 in Ubuntu.
https://bugs.launchpad.net/bugs/1870937

Title:
  3.8.2-0ubuntu2 produces SyntaxWarning

Status in python3.8 package in Ubuntu:
  New

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...

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python3.8/+bug/1870937/+subscriptions



More information about the foundations-bugs mailing list