[Debian-astro-maintainers] Bug#1040285: python3-gyoto: SyntaxWarning during package installation
Andreas Beckmann
anbe at debian.org
Tue Jul 4 06:40:06 BST 2023
Package: python3-gyoto
Version: 1.4.4-8
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-gyoto (1.4.4-8+b2) ...
/usr/lib/python3/dist-packages/gyoto/util.py:170: SyntaxWarning: "is" with a literal. Did you mean "=="?
if isinstance(coord2dset, core.Grid) and scalars is 0 :
/usr/lib/python3/dist-packages/gyoto/util.py:292: SyntaxWarning: "is" with a literal. Did you mean "=="?
if scalars is 2:
Andreas
More information about the Debian-astro-maintainers
mailing list