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

amichair 1900972 at bugs.launchpad.net
Thu Oct 22 07:56:06 UTC 2020


Public bug reported:

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

** Affects: usb-creator (Ubuntu)
     Importance: Undecided
         Status: New

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

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