summaryrefslogtreecommitdiff
path: root/lookup.py
diff options
context:
space:
mode:
authorSylvain Thénault <sylvain.thenault@logilab.fr>2008-03-30 19:25:58 +0200
committerSylvain Thénault <sylvain.thenault@logilab.fr>2008-03-30 19:25:58 +0200
commit6b636000eceef3ac91a3fa40911291a95b73244f (patch)
treeb8b24ee94a64ef323c764b934dbc99b1be167160 /lookup.py
parentdf7e6961f4887e58d9eb957a556868f095db9017 (diff)
downloadastroid-git-6b636000eceef3ac91a3fa40911291a95b73244f.tar.gz
_ast compat step 1
--HG-- branch : _ast_compat
Diffstat (limited to 'lookup.py')
-rw-r--r--lookup.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lookup.py b/lookup.py
index 6da0ecbf..c998bf11 100644
--- a/lookup.py
+++ b/lookup.py
@@ -55,6 +55,9 @@ def scope_lookup(self, node, name, offset=0):
stmts = node._filter_stmts(self.locals[name], self, offset)
except KeyError:
stmts = ()
+ except :
+ print self, self.locals
+ raise
if stmts:
return self, stmts
if self.parent: