#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)

hush-pyflakes.diff (3.3 KB) - added by warner at 2014-06-23T20:51:00Z.
patch to hush pyflakes

Download all attachments as: .zip

Change History (3)

Changed at 2014-06-23T20:51:00Z by warner

patch to hush pyflakes

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

In 99479226edc007ad174d605e63355e2e907a8acb/trunk:

hush current pyflakes warnings (list comprehensions)

closes #2245

Note: See TracTickets for help on using tickets.