Bug#985008: python3-sardana: SyntaxWarning during package installation
Andreas Beckmann
anbe at debian.org
Thu Mar 11 20:21:03 GMT 2021
Package: python3-sardana
Version: 3.0.3-1
Severity: important
User: debian-qa at lists.debian.org
Usertags: piuparts
Hi,
during a test with piuparts I noticed your package emits a SyntaxWarning
during installation:
Setting up python3-sardana (3.0.3-1) ...
/usr/lib/python3/dist-packages/sardana/macroserver/macros/lists.py:146: SyntaxWarning: "is" with a literal. Did you mean "=="?
if nb is 0:
/usr/lib/python3/dist-packages/sardana/tango/core/util.py:1209: SyntaxWarning: "is" with a literal. Did you mean "=="?
if port is None or port is 0:
/usr/lib/python3/dist-packages/sardana/taurus/core/tango/sardana/macroserver.py:668: SyntaxWarning: "is" with a literal. Did you mean "=="?
if result['input'] is '' and 'default_value' in input_data:
Andreas
More information about the debian-science-maintainers
mailing list