[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#955168: marked as done (hplip-data: SyntaxWarning: "is" with a literal)



Your message dated Wed, 01 Apr 2020 07:33:38 +0000
with message-id <E1jJXsY-000HQ8-1q@fasolo.debian.org>
and subject line Bug#955168: fixed in hplip 3.20.3+dfsg0-2
has caused the Debian Bug report #955168,
regarding hplip-data: SyntaxWarning: "is" with a literal
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
955168: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=955168
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: hplip-data
Version: 3.20.3+dfsg0-1

Hello,

on config, some Python scripts in hplip-data spit out these warnings:

/usr/share/hplip/base/utils.py:2060: SyntaxWarning: "is" with a literal.
Did you mean "=="?
  if weburl is "" or weburl is None:
/usr/share/hplip/check-plugin.py:116: SyntaxWarning: "is" with a
literal. Did you mean "=="?
  if log_level is 'debug':
/usr/share/hplip/check.py:685: SyntaxWarning: "is not" with a literal.
Did you mean "!="?
  if 'getfacl' not in g and '' is not g and 'file' not in g:
/usr/share/hplip/installer/core_install.py:2037: SyntaxWarning: "is"
with a literal. Did you mean "=="?
  if home_dir is "":
/usr/share/hplip/ui5/devmgr_ext.py:15: SyntaxWarning: "is not" with a
literal. Did you mean "!="?
  if self.latest_available_version is not "":
/usr/share/hplip/ui5/devmgr_ext.py:37: SyntaxWarning: "is not" with a
literal. Did you mean "!="?
  if self.latest_available_version is not "":

Regards,
Gabriele Stilli

--- End Message ---
--- Begin Message ---
Source: hplip
Source-Version: 3.20.3+dfsg0-2
Done: Didier Raboud <odyx@debian.org>

We believe that the bug you reported is fixed in the latest version of
hplip, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 955168@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Didier Raboud <odyx@debian.org> (supplier of updated hplip package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 01 Apr 2020 08:51:28 +0200
Source: hplip
Architecture: source
Version: 3.20.3+dfsg0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Printing Team <debian-printing@lists.debian.org>
Changed-By: Didier Raboud <odyx@debian.org>
Closes: 954732 955137 955168
Changes:
 hplip (3.20.3+dfsg0-2) unstable; urgency=medium
 .
   * Patch upstream for python3.8 support:
     - Fix SyntaxWarning: "is"/"is not" with a literal (Closes: #955168,
       #954732, LP: #1870019)
     - Assume the python3-distro package is available, depend on it
       (Closes: #955137)
Checksums-Sha1:
 82631c5c8fefdd04649e4cb80a3b08ee9efa4db7 3179 hplip_3.20.3+dfsg0-2.dsc
 42529e45aaa30cd49966482e973bf47392c5d150 135760 hplip_3.20.3+dfsg0-2.debian.tar.xz
Checksums-Sha256:
 e6f1c3aa5c55003d196b43e1000e3e58378c05bc243ac62660194bde21e36e20 3179 hplip_3.20.3+dfsg0-2.dsc
 448c526791976c8e3cb121a4ffa4400d083ea94f18424840f266350db8c137a4 135760 hplip_3.20.3+dfsg0-2.debian.tar.xz
Files:
 0325c6dde8ced2bdb7c74e4ffda257a1 3179 utils optional hplip_3.20.3+dfsg0-2.dsc
 1c041d3625921e974d9947875a035a3b 135760 utils optional hplip_3.20.3+dfsg0-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJ3k7rA0YCplkx4gZqcb6xg1jAWkFAl6EP58ACgkQqcb6xg1j
AWm+qA/+PwPH5pv3rAnglHeDX8uE9uQarjLnr25DJaOFKw91xC6flAvIeEA7kQA9
6i8ZzgJ4M4ko2u/FDIiettJ4v6erO1BmXHCsMUCDHWcnyfIWErj6vGa69tklcFMA
8xoySqwz0E4e1hXfQJchShcbUJBMFcRjj7Y0msDMix71puA1R06Lvxb7J7HydaKJ
6zQ2ovUnpB36idju63Z6B61tm10KI0bk3ITGCv3luIX8BgbO40exq2+aZ4wzypF/
AGKx5NYCPJyDb+bmx8FrgDTi/L3qgOt0PLCx9akVFJc+BRnpx/BA4DsPInP/OcK1
mGWR5gYrndkjeV+tgSn4l9aHEcfTnJZw5CdEilYdCv5NsB0cT0AZdJjBDfD7++Xg
iIhgOeyaSnHubmQDP8UTGyC2aQSSv1PF/K71FpURuhQ+Egj+adUkeAe5A/G5Pg6J
A450No0cBBPextgs3d2OC+JKADZUlreptNy6C7t9gzRPkf0mZwZgeGPdtVuUHRwQ
5TP5ISkg1D1GgmIKWBy6QZ51Cliayhs7IoYLRouorA2Jm0c14yj0ApHeVpv1u4Vn
wwBXyakLWUdyCve8zYF1xkHuxFHIz5UXpSXg7Mzhrx8dDKKvnq7QnueZ1o8ELIvR
OChHl1cpbsH3TZooRSNGhgcMSXUCHQAIe6+mbydGZdUXhnn5us0=
=l9Ju
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: