[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#965947: lintian: uses-dpkg-database-directly no longer detected for python3-reportbug



> Until recently lintian emitted a warning that python3-reportbug uses the dpkg
> database directly. The corresponding code in the reportbug source package has
> not changed, but the warning is gone. Does this mean that the warning was a
> false positive in the first place? Or is the lack of warning now a false
> negative?

The lack of warning is a false negative.

In lib/Lintian/Index/Item.pm, `mentions_in_operation` uses `is_script`
to decide whether to check the file content of non-binary files. Only
the main reportbug and querybts python scripts are identified as
scripts. The content of the python module files is not checked.

Should all .py files be considered scripts? The issue probably affects
other scripting languages as well.


Reply to: