summaryrefslogtreecommitdiff
path: root/nodes.py
diff options
context:
space:
mode:
authorEmile Anclin <emile.anclin@logilab.fr>2009-09-07 18:51:11 +0200
committerEmile Anclin <emile.anclin@logilab.fr>2009-09-07 18:51:11 +0200
commit9f7ff47fc512274aaf11e08af8f52cc6bf654100 (patch)
tree416a4b886ead7286d44cfeb25bae22ec4b437b16 /nodes.py
parent95ee8a6c7fc4899ca7f557789303fe5b41eea643 (diff)
downloadastroid-git-9f7ff47fc512274aaf11e08af8f52cc6bf654100.tar.gz
[B] rename LookupMixIn also in nodes.py
Diffstat (limited to 'nodes.py')
-rw-r--r--nodes.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/nodes.py b/nodes.py
index ef1de4b3..117b198d 100644
--- a/nodes.py
+++ b/nodes.py
@@ -48,7 +48,7 @@ from logilab.astng._exceptions import UnresolvableName, NotFoundError, \
InferenceError, ASTNGError
from logilab.astng.utils import extend_class, REDIRECT
from logilab.astng import node_classes
-from logilab.astng.lookup import LookupMixin
+from logilab.astng.lookup import LookupMixIn
from logilab.astng import scoped_nodes
from logilab.astng.scoped_nodes import LocalsDictMixIn
@@ -135,17 +135,17 @@ for cls in ALL_NODES:
scoped_cls = getattr(scoped_nodes,
REDIRECT.get(cls.__name__, cls.__name__) + "NG")
if cls is Function:
- addons.extend([LookupMixin, LocalsDictMixIn,
+ addons.extend([LookupMixIn, LocalsDictMixIn,
scoped_nodes.LambdaNG, scoped_cls])
else:
- addons.extend([LookupMixin, LocalsDictMixIn, scoped_cls])
+ addons.extend([LookupMixIn, LocalsDictMixIn, scoped_cls])
else:
- addons.append(LookupMixin)
+ addons.append(LookupMixIn)
if cls not in LOCALS_NODES:
addons.append(getattr(node_classes,
REDIRECT.get(cls.__name__, cls.__name__) + "NG") )
extend_class(cls, addons)
-# _scope_lookup only available with LookupMixin extention
+# _scope_lookup only available with LookupMixIn extention
GenExpr.scope_lookup = GenExpr._scope_lookup