[Pkg-samba-maint] Bug#964165: python3-samba: emulate/traffic_packets.py:339: SyntaxWarning: "is" with a literal. Did you mean "=="?

Paul Wise pabs at debian.org
Fri Jul 3 01:21:44 BST 2020


Package: python3-samba
Version: 2:4.12.5+dfsg-2
Severity: normal
File: /usr/lib/python3/dist-packages/samba/emulate/traffic_packets.py
Usertags: warnings

There is a syntax warning in the one of the samba Python modules:

Setting up python3-samba (2:4.12.5+dfsg-2) ...
/usr/lib/python3/dist-packages/samba/emulate/traffic_packets.py:339: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if (filter is None or filter is '') and scope != SCOPE_BASE:

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-1-nouveau-extra-crash-debug-info-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-samba depends on:
ii  libbsd0         0.10.0-1
ii  libc6           2.30-8
ii  libgnutls30     3.6.14-2
ii  libldb2         2:2.1.4-2
ii  libpython3.8    3.8.4~rc1-1
ii  libtalloc2      2.3.1-1
ii  libtevent0      0.10.2-1
ii  libwbclient0    2:4.12.5+dfsg-2
ii  python3         3.8.2-3
ii  python3-crypto  2.6.1-13.1+b1
ii  python3-ldb     2:2.1.4-2
ii  python3-talloc  2.3.1-1
ii  python3-tdb     1.4.3-1
ii  samba-libs      2:4.12.5+dfsg-2

Versions of packages python3-samba recommends:
ii  python3-gpg  1.13.1-6

python3-samba suggests no packages.

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-samba-maint/attachments/20200703/650b836a/attachment.sig>


More information about the Pkg-samba-maint mailing list