diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2008-03-30 19:25:58 +0200 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2008-03-30 19:25:58 +0200 |
commit | 6b636000eceef3ac91a3fa40911291a95b73244f (patch) | |
tree | b8b24ee94a64ef323c764b934dbc99b1be167160 /lookup.py | |
parent | df7e6961f4887e58d9eb957a556868f095db9017 (diff) | |
download | astroid-git-6b636000eceef3ac91a3fa40911291a95b73244f.tar.gz |
_ast compat step 1
--HG--
branch : _ast_compat
Diffstat (limited to 'lookup.py')
-rw-r--r-- | lookup.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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: |