diff options
Diffstat (limited to 'pylint/checkers/logging.py')
-rw-r--r-- | pylint/checkers/logging.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pylint/checkers/logging.py b/pylint/checkers/logging.py index 9ef85dd..a5b1edf 100644 --- a/pylint/checkers/logging.py +++ b/pylint/checkers/logging.py @@ -15,7 +15,6 @@ """ import astroid -from astroid import helpers from pylint import checkers from pylint import interfaces @@ -80,7 +79,7 @@ def is_method_call(callfunc_node, types=(), methods=()): """ if not isinstance(callfunc_node, astroid.Call): return False - func = helpers.safe_infer(callfunc_node.func) + func = utils.safe_infer(callfunc_node.func) return (isinstance(func, astroid.BoundMethod) and isinstance(func.bound, astroid.Instance) and (func.bound.name in types if types else True) |