[Python-modules-team] Bug#956189: Trivial patch

Andrew J. Buehler wanderer at fastmail.fm
Fri Apr 10 17:37:32 BST 2020


I saw this too, during today's dist-upgrade. Based on comparing those
assert lines with others elsewhere in the file, it looks like they're
missing a %.

Trivial patch to add it attached. I've tested it locally (by patching
the installed file and running the py3compile command from the postinst,
not by rebuilding the package), and it at least silences the warnings.
Whether this produces the desired behavior I don't know; I don't know
Python well enough to understand what this syntax actually does.

There were two different style conventions about this (whether to
include spaces around the %) elsewhere in the file, so I just picked
one.

-- 
  Andrew J. Buehler
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3-urwid-test_canvas-assertfix.diff
Type: text/x-diff
Size: 1453 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200410/28cc1dd3/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200410/28cc1dd3/attachment.sig>


More information about the Python-modules-team mailing list