Opened at 2010-01-14T04:29:50Z
Last modified at 2010-01-14T22:34:14Z
#900 closed defect
Fix 'local variable is assigned to but not used' warnings from pyflakes — at Version 2
Reported by: | davidsarah | Owned by: | somebody |
---|---|---|---|
Priority: | minor | Milestone: | 1.6.0 |
Component: | code | Version: | 1.5.0 |
Keywords: | Cc: | ||
Launchpad Bug: |
Description (last modified by warner)
The latest version of pyflakes (0.4.0) gives a bunch of warnings about local variables not being used. Fix them.
(the code was pyflakes-0.3.0 clean, but pyflakes-0.4.0 has new checks)
Change History (2)
comment:1 Changed at 2010-01-14T18:06:25Z by davidsarah
- Priority changed from major to minor
comment:2 Changed at 2010-01-14T19:43:46Z by warner
- Description modified (diff)
I think that archives_dir stuff is vestigal, from before backupdb started tracking directories (it used to have to find and read the most recent snapshot). It can be removed.
I'll make a pass through these at some point.
Note: See
TracTickets for help on using
tickets.
Most of these warnings look harmless. I'm not sure about a few of them -- for example archives_dir starting at source:src/allmydata/scripts/tahoe_backup.py#L106 .