:: [devuan-dev] bug#571: marked as don…
Top Pagina
Delete this message
Reply to this message
Auteur: Devuan bug Tracking System
Datum:  
Aan: Florian Zieboll
Onderwerp: [devuan-dev] bug#571: marked as done (bleachbit: python3 SyntaxWarning for __init__.py)
Your message dated Mon, 22 Mar 2021 15:10:23 +0100
with message-id <20210322151023.268ddabb.f.zieboll@???>
and subject line CLOSED
has caused the Devuan bug report #571,
regarding bleachbit: python3 SyntaxWarning for __init__.py
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@???
immediately.)


--
571: https://bugs.devuan.org/cgi/bugreport.cgi?bug=571
Devuan Bug Tracking System
Contact owner@??? with problems
Package: bleachbit
Version: 3.9.0-1
Severity: minor
Tags: patch
X-Debbugs-Cc: f.zieboll@???


Hello!

When installing Bleachbit, the python rtupdate hooks for python3.9 return a
Syntax warning for /usr/share/bleachbit/bleachbit/__init__.py:


  root@nulldevice:~# dpkg-reconfigure python3
  running python rtupdate hooks for python3.9...
  /usr/share/bleachbit/bleachbit/__init__.py:260: SyntaxWarning: "is not" with
a literal. Did you mean "!="?
    if msgctxt is not None and msgctxt is not "":
  running python post-rtupdate hooks for python3.9...



As expected, the following patch fixes the issue:

  260c260
  <     if msgctxt != None and msgctxt != "":
  ---

  >     if msgctxt is not None and msgctxt is not "":



Best regards,
Florian



-- System Information:
Distributor ID: Devuan
Description:    Devuan GNU/Linux 4 (chimaera/ceres)
Release:        testing/unstable
Codename:       n/a
Architecture: x86_64


Kernel: Linux 5.10.0-4-amd64 (SMP w/8 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled

Versions of packages bleachbit depends on:
ii  gir1.2-gtk-3.0    3.24.24-3
ii  libgtk-3-0        3.24.24-3
ii  policykit-1       0.105-30+devuan1
ii  python3           3.9.2-2
ii  python3-chardet   4.0.0-1
ii  python3-gi        3.38.0-2
ii  python3-requests  2.25.1+dfsg-2


bleachbit recommends no packages.

bleachbit suggests no packages.

That was one click to quick,the bug is now filed in the Debian BTS:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=985707