Results 1 to 1 of 1

Thread: python3-distupgrade small misprint bug

  1. #1
    Join Date
    Oct 2008
    Location
    ExodusHair<Čubura
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    python3-distupgrade small misprint bug

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

    Code:
    # if we don't have end, set it to the next line  
         if end_str is "":
         end = start + 1
         else:
         end = int(end_str)
    BugReport: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1850406

    Update₁: Bug is still alive...
    Code:
    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 "":
    Update₂:
    Code:
    Setting up python3-distupgrade (1:20.04.7) ...
    /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradePatcher.py:76: SyntaxWarning: "is" with a literal. Did you mean "=="?
      if end_str is "":
    Last edited by zika; December 7th, 2019 at 08:11 AM.
    Ignota nulla curatio morbi.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •