[Debian-med-packaging] Bug#1085822: pyqi: Python SyntaxWarning
Graham Inggs
ginggs at debian.org
Tue Oct 22 19:02:00 BST 2024
Source: pyqi
Version: 0.3.2+dfsg-10
User: debian-python at lists.debian.org
Usertags: syntaxwarning
Hi Maintainer
The SyntaxWarning below were emitted when this package was tested with
pipuarts[1].
Regards
Graham
[1] https://piuparts.debian.org/sid/source/p/pyqi.html
Setting up pyqi (0.3.2+dfsg-10) ...
/usr/lib/python3/dist-packages/pyqi/commands/make_release.py:55:
SyntaxWarning: invalid escape sequence '\s'
match = re.search('^%s\s+(.*)' % pkg_name, line.strip())
/usr/lib/python3/dist-packages/pyqi/commands/make_release.py:121:
SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if retval is not 0:
/usr/lib/python3/dist-packages/pyqi/commands/make_release.py:139:
SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if retval is not 0:
/usr/lib/python3/dist-packages/pyqi/commands/make_release.py:157:
SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if retval is not 0:
/usr/lib/python3/dist-packages/pyqi/commands/make_release.py:166:
SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if retval is not 0:
/usr/lib/python3/dist-packages/pyqi/commands/make_release.py:175:
SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if retval is not 0:
/usr/lib/python3/dist-packages/pyqi/commands/make_release.py:186:
SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if retval is not 0:
/usr/lib/python3/dist-packages/pyqi/commands/make_release.py:195:
SyntaxWarning: "is not" with 'int' literal. Did you mean "!="?
if retval is not 0:
/usr/lib/python3/dist-packages/pyqi/core/interfaces/html/__init__.py:358:
SyntaxWarning: "is not" with 'str' literal. Did you mean "!="?
if full_name in postvars and i.Type is not 'upload_file':
More information about the Debian-med-packaging
mailing list