Remove unused variables and module imports
Bug #677751 reported by
alan runyan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ZODB |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
If you run pyflakes on the latest version of ZODB there are dozens of modules which are imported but not used. There are also several variables which are defined but not used. Looks like a fairly simple task.
Changed in zodb: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I'm trying to remove all unused imports but I'm still getting some errors and failures in the tests.
I've seen sometimes:
import ZODB
import ZODB.tests
import ZODB.interfaces
...
The easiest would be leave just ZODB import and delete the rest, but I'm pretty sure there must be a reason to make imports more explicit.