SyntaxWarning: "is" with a literal
Bug #1874621 reported by
Aiko Barz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
khal (Debian) |
Fix Released
|
Unknown
|
|||
khal (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Starting khal (Ubuntu 20.04) gives me an error:
$ khal
/usr/lib/
if color is None or color is '':
…
Line 136 looks like this:
if color is None or color is '':
In upstream¹ this line looks like that:
if color is None or color == '':
I patched my utils.py manually, now the error is gone.
Kind regards
Aiko
¹: https:/
Changed in khal (Debian): | |
status: | Unknown → New |
Changed in khal (Debian): | |
status: | New → Confirmed |
Changed in khal (Debian): | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
Thanks for taking your time to report this issue and help making Ubuntu better. Marking this confirmed based on the corresponding Debian bug report.