Package: bleachbit Version: 3.9.0-2 Followup-For: Bug #974530 X-Debbugs-Cc: yg2...@hotmail.com
Dear Maintainer, After today's update to version 3.9.0-2, the same SyntaxWarning is still displayed: Configurando bleachbit (3.9.0-2) ... /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 "": Without knowing anything about the python language, I have two questions: Q1: Does bleachbit work well with this SyntaxWarning? Q2: While arriving from upstream, can the fix indicated in message #10 be applied locally? It would be as follows, modifying line 260 (previously making a backup copy): cd /usr/share/bleachbit/bleachbit/ sudo cp -p __init__.py __init__.py.20200322 sudo sed -i '260s/msgctxt is not ""/msgctxt != ""/' /usr/share/bleachbit/bleachbit/__init__.py diff __init__.py __init__.py.20200322 260c260 < if msgctxt is not None and msgctxt != "": --- > if msgctxt is not None and msgctxt is not "": Thanks in advance. -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads) Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages bleachbit depends on: ii gir1.2-gtk-3.0 3.24.30-3 ii libgtk-3-0 3.24.30-3 ii policykit-1 0.105-31 ii python3 3.9.2-3 ii python3-chardet 4.0.0-1 ii python3-gi 3.40.1-2 ii python3-requests 2.25.1+dfsg-2 bleachbit recommends no packages. bleachbit suggests no packages. -- no debconf information