diff options
author | Emile Anclin <emile.anclin@logilab.fr> | 2010-09-22 15:05:42 +0200 |
---|---|---|
committer | Emile Anclin <emile.anclin@logilab.fr> | 2010-09-22 15:05:42 +0200 |
commit | dbeaad5988d27f5fd56a278e70a8c7995c87ff7c (patch) | |
tree | 8833c2c86dfca6bfa91aebbe18817fe2e10ab677 /rebuilder.py | |
parent | e2f48476e242dcee95a6de024c937720c39ed29b (diff) | |
download | astroid-git-dbeaad5988d27f5fd56a278e70a8c7995c87ff7c.tar.gz |
py2.3 compat : syntax, set; _nodes_compiler.py : fix visit_discard
--HG--
branch : stable
Diffstat (limited to 'rebuilder.py')
-rw-r--r-- | rebuilder.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rebuilder.py b/rebuilder.py index d902875e..4bdbc6ca 100644 --- a/rebuilder.py +++ b/rebuilder.py @@ -214,11 +214,11 @@ class RebuildVisitor(object): for name in imported.wildcard_import_names(): node.parent.set_local(name, node) if delayed: - node.parent.scope().locals[name].sort(cmp=cmp_nodes) + node.parent.scope().locals[name].sort(cmp_nodes) else: node.parent.set_local(asname or name, node) if delayed: - node.parent.scope().locals[asname or name].sort(cmp=cmp_nodes) + node.parent.scope().locals[asname or name].sort(cmp_nodes) def visit_function(self, node, parent): |