[Bug 1850406] Re: python3-distupgrade small misprint bug

zika trti.ivko at gmail.com
Fri Dec 6 12:43:52 UTC 2019


Still alive:
Unpacking python3-distupgrade (1:20.04.5) over (1:20.04.4) ...
Setting up python3-distupgrade (1:20.04.5) ...
/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradePatcher.py:76: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if end_str is "":

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

Title:
  python3-distupgrade small misprint bug

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  Message during install/upgrade:

  
  Setting up python3-distupgrade (1:20.04.1) ...
  /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradePatcher.py:76: SyntaxWarning: "is" with a literal. Did you mean "=="?
    if end_str is "":

  In situ:

  # if we don't have end, set it to the next line  
       if end_str is "":
       end = start + 1
       else:
       end = int(end_str)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1850406/+subscriptions



More information about the foundations-bugs mailing list