diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2014-03-19 09:48:51 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2014-03-19 09:48:51 +0100 |
commit | 6cd480552017e6e44f0bc0c17687fc1c380fb9c7 (patch) | |
tree | 190cdf9bfe82bd763a0bf3f7a24fba0c9df516d6 /builder.py | |
parent | 6b53e3d94807fa59ef751068199f3c2b759f2f1a (diff) | |
download | astroid-git-6cd480552017e6e44f0bc0c17687fc1c380fb9c7.tar.gz |
call transformation for builtin modules as well (though not yet for their child nodes)
Diffstat (limited to 'builder.py')
-rw-r--r-- | builder.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -102,6 +102,12 @@ class AstroidBuilder(InspectBuilder): # this is a built-in module # get a partial representation by introspection node = self.inspect_build(module, modname=modname, path=path) + # we have to handle transformation by ourselves since the rebuilder + # isn't called for builtin nodes + # + # XXX it's then only called for Module nodes, not for underlying + # nodes + node = self._manager.transform(node) return node def file_build(self, path, modname=None): |