c.l.d.Distribution.getPackageNames appears to be an unused/untested code path
Bug #3530 reported by
Brad Bollenbach
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Unassigned |
Bug Description
make lintmerge reports the following for me, related to c.l.d.Distribut
...
E0602:451:
E0602:470:
...
These are missing imports.
This almost surely means this is an unused/untested code path. Either the code should be ditched, or it should be tested and made sure it's actually being used in the application.
Changed in launchpad: | |
status: | Accepted → Fixed |
To post a comment you must log in.
I have a fix for this in my launchpad- -bugzilla- import- -0 branch, which also adds some tests that indirectly exercise the code.