[Bug 1900972] Re: SyntaxWarning: "is not" with a literal

Launchpad Bug Tracker 1900972 at bugs.launchpad.net
Mon Aug 1 09:09:06 UTC 2022


This bug was fixed in the package usb-creator - 0.3.15

---------------
usb-creator (0.3.15) kinetic; urgency=medium

  * usbcreator/frontends/kde/frontend.py: switch to using a literal in the
    comparison. (LP: #1900972)

 -- Brian Murray <brian at ubuntu.com>  Fri, 17 Jun 2022 11:22:10 -0700

** Changed in: usb-creator (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  SyntaxWarning: "is not" with a literal

Status in usb-creator package in Ubuntu:
  Fix Released

Bug description:
  In the upgrade to Kubuntu 20.04, I noticed in the apt log this error
  when setting up usb-creator-kde . After the upgrade I ran apt install
  --reinstall usb-creator-kde to try again and got the same error:

  Preparing to unpack .../usb-creator-kde_0.3.7_amd64.deb ...
  Unpacking usb-creator-kde (0.3.7) over (0.3.7) ...
  Setting up usb-creator-kde (0.3.7) ...
  /usr/lib/python3/dist-packages/usbcreator/frontends/kde/frontend.py:140: SyntaxWarning: "is not" with a literal. Did you mean "!="?
    if self.__img is not '':

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/1900972/+subscriptions




More information about the foundations-bugs mailing list