diff options
Diffstat (limited to 'pylint/checkers/variables.py')
-rw-r--r-- | pylint/checkers/variables.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pylint/checkers/variables.py b/pylint/checkers/variables.py index 9cc747d..e2d4ecc 100644 --- a/pylint/checkers/variables.py +++ b/pylint/checkers/variables.py @@ -43,7 +43,7 @@ def _is_from_future_import(stmt, name): """Check if the name is a future import from another module.""" try: module = stmt.do_import_module(stmt.modname) - except InferenceError: + except astroid.InferenceError: return for local_node in module.locals.get(name, []): |