diff options
author | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-06 10:10:02 +0100 |
---|---|---|
committer | Sylvain Thénault <sylvain.thenault@logilab.fr> | 2009-03-06 10:10:02 +0100 |
commit | 58b658be265730ebf9e35a9bfa5c95882a951192 (patch) | |
tree | bab56f4901c3f2c2f2a51437b7156dd17aec5e9b /builder.py | |
parent | b600e40101e4bf8889fea46a717cc2f8e351e3d3 (diff) | |
download | astroid-git-58b658be265730ebf9e35a9bfa5c95882a951192.tar.gz |
cleanup
--HG--
branch : _ast_compat
Diffstat (limited to 'builder.py')
-rw-r--r-- | builder.py | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -87,8 +87,6 @@ class ASTNGBuilder: this is used when there is no python source code available (either because it's a built-in module or because the .py is not available) """ - print '*'*80 - print 'inspect build', module, modname self._module = module node = build_module(modname or module.__name__, module.__doc__) node.file = node.path = path and abspath(path) or path @@ -105,8 +103,6 @@ class ASTNGBuilder: path is expected to be a python source file """ - print '*'*80 - print 'file build', path, modname try: data = norm_read(path) except IOError, ex: @@ -136,8 +132,6 @@ class ASTNGBuilder: def ast_build(self, node, modname='', path=None): """recurse on the ast (soon ng) to add some arguments et method""" - print '*'*80 - print modname, path if path is not None: node.file = node.path = abspath(path) else: @@ -201,8 +195,8 @@ class ASTNGBuilder: node.add_local_node(class_node, name) else: class_node = object_build_class(node, member) - # recursion - self.object_build(class_node, member) + # recursion + self.object_build(class_node, member) elif ismethoddescriptor(member): assert isinstance(member, object) object_build_methoddescriptor(node, member) |