summaryrefslogtreecommitdiff
path: root/utils.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2009-04-08 17:15:56 +0200
committerEmile Anclin <emile.anclin@logilab.fr>2009-04-08 17:15:56 +0200
commit6e338e5d3c7af02144f18267ec74536fff554d5e (patch)
tree01d67b678904ef15d47769ec443539d0e522a7e5 /utils.py
parent873bb6cb871f36fb6c639f0cb3610b9deb55309a (diff)
downloadastroid-6e338e5d3c7af02144f18267ec74536fff554d5e.tar.gz
typos and comments
Diffstat (limited to 'utils.py')
-rw-r--r--utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.py b/utils.py
index 452ac82..664cb6d 100644
--- a/utils.py
+++ b/utils.py
@@ -336,7 +336,7 @@ class LocalsVisitor(ASTWalker):
"""launch the visit starting from the given node"""
if self._visited.has_key(node):
return
- self._visited[node] = 1
+ self._visited[node] = 1 # FIXME: use set ?
methods = self.get_callbacks(node)
recurse = 1
if methods[0] is not None: