summaryrefslogtreecommitdiff
path: root/astroid/rebuilder.py
diff options
context:
space:
mode:
authorCeridwen <ceridwenv@gmail.com>2015-08-14 15:38:35 -0400
committerCeridwen <ceridwenv@gmail.com>2015-08-14 15:38:35 -0400
commit10e71ccec84165b761c1e41921ff6c5b182f1e64 (patch)
treedf04d0a75ac6241ba49632cb7665dbbc65ec1c50 /astroid/rebuilder.py
parente77330972504ee1fa1ddd21124f10980c366eb60 (diff)
downloadastroid-10e71ccec84165b761c1e41921ff6c5b182f1e64.tar.gz
Fix most obvious errors intorduced by the latest merge
Diffstat (limited to 'astroid/rebuilder.py')
-rw-r--r--astroid/rebuilder.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/astroid/rebuilder.py b/astroid/rebuilder.py
index 6399ef0..413e6c9 100644
--- a/astroid/rebuilder.py
+++ b/astroid/rebuilder.py
@@ -108,7 +108,7 @@ class TreeRebuilder(object):
newnode = nodes.Module(name=modname, doc=doc, file=modpath, path=modpath,
package=package, parent=None)
newnode.postinit([self.visit(child, newnode) for child in node.body])
- return self._transform(newnode)
+ return newnode
def visit(self, node, parent, assign_ctx=None):
cls = node.__class__