summaryrefslogtreecommitdiff
path: root/builder.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2009-11-25 17:27:23 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2009-11-25 17:27:23 +0100
commit6b59dfa123bb3cfb7474ba321f3ea813bf07e3c8 (patch)
tree85d59842d94c26eed04b87d6a9e738ca6dbae311 /builder.py
parent0e0a115601ebbbaace352003299573450a4f1b31 (diff)
downloadastroid-git-6b59dfa123bb3cfb7474ba321f3ea813bf07e3c8.tar.gz
trying to handle the imports
--HG-- branch : rebuild
Diffstat (limited to 'builder.py')
-rw-r--r--builder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/builder.py b/builder.py
index 1eaabff5..6413f3d1 100644
--- a/builder.py
+++ b/builder.py
@@ -140,11 +140,11 @@ class ASTNGBuilder:
node.package = path and path.find('__init__.py') > -1 or False
node.name = modname
node.pure_python = True
+ node = self.rebuilder.walk(node) # XXX get the added attributes
if self._manager is not None:
self._manager._cache[node.file] = node
if self._file:
self._manager._cache[abspath(self._file)] = node
- self.rebuilder.walk(node)
return node
# astng from living objects ###############################################