It's a mistake to write

     assert(tilsit, 'Never at the end of the week, sir.')

instead of

     assert tilsit, 'Never at the end of the week, sir.'

The former assertion is always true, and thus no-op. Python >= 2.6 emits a SyntaxWarning about this.

I implemented lintian4python check for such issues and ran it against all packages in (somewhat out of date) unstable. The results are attached.

Any volunteers to file bugs?

--
Jakub Wilk
Andrew Pollock <[email protected]>
   pymetrics

Debian freesmartphone.org Team <[email protected]>
   fso-frameworkd

Debian Python Modules Team <[email protected]>
   python-myghty

Debian QA Group <[email protected]>
   gdesklets
   python-toscawidgets

Debichem Team <[email protected]>
   python-rdkit

Joachim Breitner <[email protected]>
   fso-frameworkd (U)

Luca Capello <[email protected]>
   fso-frameworkd (U)

Michael Banck <[email protected]>
   python-rdkit (U)

Oleksandr Moskalenko <[email protected]>
   python-myghty (U)

Rico Rommel <[email protected]>
   fso-frameworkd (U)

Sebastian Reichel <[email protected]>
   fso-frameworkd (U)

Toni Mueller <[email protected]>
   roundup

Reply via email to