Opened at 2014-06-23T20:50:09Z
Closed at 2014-06-23T20:54:48Z
#2245 closed defect (fixed)
fix current pyflakes warnings
Reported by: | warner | Owned by: | Brian Warner <warner@…> |
---|---|---|---|
Priority: | minor | Milestone: | 1.10.1 |
Component: | code | Version: | 1.10.0 |
Keywords: | Cc: | zooko | |
Launchpad Bug: |
Description
The current pyflakes (0.8.1) is more picky than earlier versions, and notices list comprehensions which shadow existing variables in their scope. This patch fixes those, by deleting the pre-existing variable (which is unused by that point). (it also fixes an unused-variable warning, which has probably been around for a while)
Attachments (1)
Change History (3)
Changed at 2014-06-23T20:51:00Z by warner
comment:1 Changed at 2014-06-23T20:53:36Z by zooko
Reviewed attachment:hush-pyflakes.diff - LGTM.
comment:2 Changed at 2014-06-23T20:54:48Z by Brian Warner <warner@…>
- Owner set to Brian Warner <warner@…>
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
patch to hush pyflakes