[Python-apps-team] Bug#953543: /usr/lib/python3/dist-packages/khal/settings/utils.py:136: SyntaxWarning: "is" with a literal

Félix Sipma felix+debian at gueux.org
Tue Mar 10 12:34:15 GMT 2020


Package: khal
Version: 1:0.9.10-1.1
Severity: normal

Running khal emits a warning:

    $ khal
    /usr/lib/python3/dist-packages/khal/settings/utils.py:136: SyntaxWarning: "is" with a literal. Did you mean "=="?
      if color is None or color is '':
        Mo Tu We Th Fr Sa Su     Today, 10.03.2020
        ...

It seems to be fixed in the latest upstream version (0.10.1).


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (500, 'stable'), (100, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.4.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages khal depends on:
ii  python3                3.8.2-1
ii  python3-atomicwrites   1.1.5-2
ii  python3-click          7.0-3
ii  python3-configobj      5.0.6-3
ii  python3-dateutil       2.7.3-3
ii  python3-icalendar      4.0.3-4
ii  python3-pkg-resources  44.0.0-1
ii  python3-tz             2019.3-1
ii  python3-tzlocal        2.1~b1-2
ii  python3-urwid          2.0.1-2+b2
ii  python3-xdg            0.26-1

Versions of packages khal recommends:
ii  python3-setproctitle  1.1.10-1+b3

Versions of packages khal suggests:
pn  khal-doc  <none>

-- no debconf information

-- 
Félix
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-apps-team/attachments/20200310/882ade2e/attachment.sig>


More information about the Python-apps-team mailing list