[Bug 1850406] [NEW] python3-distupgrade small misprint bug

zika trti.ivko at gmail.com
Tue Oct 29 13:42:03 UTC 2019


Public bug reported:

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)

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New

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