Sun, 28 Feb 2010 09:06:59 +0000
Fixed an issue in the py3flakes checker code (forgot to handle assignments to lists).
Utilities/py3flakes/checker.py | file | annotate | diff | comparison | revisions |
--- a/Utilities/py3flakes/checker.py Sat Feb 27 11:33:46 2010 +0000 +++ b/Utilities/py3flakes/checker.py Sun Feb 28 09:06:59 2010 +0000 @@ -507,7 +507,7 @@ return # if the name hasn't already been defined in the current scope - if isinstance(node, ast.Tuple): + if isinstance(node, (ast.Tuple, ast.List)): for elt in node.elts: elt.parent = node self.handleAssignName(elt)