diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-12 00:13:37 +0300 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-10-12 00:13:37 +0300 |
commit | d2eef8ae6dac76ad7395170ca22424f1cc0a3c92 (patch) | |
tree | ea21dac57f5546017eae0580ce0bd8ada3d285b3 | |
parent | 8820499b03603ea5674afe59533b3b54b6dd628a (diff) | |
download | pylint-d2eef8ae6dac76ad7395170ca22424f1cc0a3c92.tar.gz |
Update to use the new location of NodeNG.
-rw-r--r-- | pylint/checkers/typecheck.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/typecheck.py b/pylint/checkers/typecheck.py index 865508e..66ac05b 100644 --- a/pylint/checkers/typecheck.py +++ b/pylint/checkers/typecheck.py @@ -25,10 +25,10 @@ import sys import astroid import astroid.context import astroid.arguments -from astroid import bases from astroid import exceptions from astroid import objects from astroid import helpers +from astroid import node_classes import six from pylint.interfaces import IAstroidChecker, INFERENCE, INFERENCE_FAILURE @@ -52,7 +52,7 @@ def _unflatten(iterable): not isinstance(elem, six.string_types)): for subelem in _unflatten(elem): yield subelem - elif isinstance(elem, bases.NodeNG): + elif isinstance(elem, node_classes.NodeNG): yield elem |