diff options
author | Claudiu Popa <pcmanticore@gmail.com> | 2015-11-20 13:17:32 +0200 |
---|---|---|
committer | Claudiu Popa <pcmanticore@gmail.com> | 2015-11-20 13:17:32 +0200 |
commit | 1b46d4808e1d58a3d40bb3040c648c5ef3e4edb3 (patch) | |
tree | 3214e81c17c3e6e1824e87a0e6e2cb4891a94dd6 | |
parent | 6744f44b7d50024283972badb396d3d357a71c74 (diff) | |
download | pylint-1b46d4808e1d58a3d40bb3040c648c5ef3e4edb3.tar.gz |
Use the correct module.
-rw-r--r-- | pylint/checkers/async.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pylint/checkers/async.py b/pylint/checkers/async.py index c1914f4..16faac9 100644 --- a/pylint/checkers/async.py +++ b/pylint/checkers/async.py @@ -52,7 +52,7 @@ class AsyncChecker(checkers.BaseChecker): @checker_utils.check_messages('not-async-context-manager')
def visit_asyncwith(self, node):
for ctx_mgr, _ in node.items:
- infered = utils.safe_infer(ctx_mgr)
+ infered = checker_utils.safe_infer(ctx_mgr)
if infered is None or infered is astroid.YES:
continue
@@ -64,7 +64,7 @@ class AsyncChecker(checkers.BaseChecker): if isinstance(infered, astroid.Instance):
# If we do not know the bases of this class,
# just skip it.
- if not utils.has_known_bases(infered):
+ if not checker_utils.has_known_bases(infered):
continue
# Just ignore mixin classes.
if self._ignore_mixin_members:
|