summaryrefslogtreecommitdiff
path: root/builder.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2010-12-01 10:50:27 +0100
committerEmile Anclin <emile.anclin@logilab.fr>2010-12-01 10:50:27 +0100
commitfc4777a4b5dba839744ad22d666dfe40d2adb21d (patch)
tree859009526384d25e2a836da280964833f2925d7c /builder.py
parent8bcd9961171735cca123a0424def58c505cdd8e5 (diff)
downloadastroid-git-fc4777a4b5dba839744ad22d666dfe40d2adb21d.tar.gz
rename ASTNGBuilder.build to tree_build
Diffstat (limited to 'builder.py')
-rw-r--r--builder.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/builder.py b/builder.py
index 77cc6ff0..7c7bca07 100644
--- a/builder.py
+++ b/builder.py
@@ -135,10 +135,10 @@ class ASTNGBuilder:
package = True
else:
package = path and path.find('__init__.py') > -1 or False
- newnode = self.build(node, modname, node_file, package)
+ newnode = self.tree_build(node, modname, node_file, package)
return newnode
- def build(self, node, modname, module_file, package):
+ def tree_build(self, node, modname, module_file, package):
"""rebuild the tree starting with an Module node;
return an astng.Module node
"""