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/+s...r/+bug/1850406
    Last edited by zika; 1 Week Ago at 02:44 PM.
    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
  •