summaryrefslogtreecommitdiff
path: root/pylint/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/utils.py')
-rw-r--r--pylint/utils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/utils.py b/pylint/utils.py
index 4ad04d6cd..dc796a883 100644
--- a/pylint/utils.py
+++ b/pylint/utils.py
@@ -329,6 +329,7 @@ class MessagesHandlerMixIn(object):
return MSG_STATE_SCOPE_MODULE
except (KeyError, TypeError):
return MSG_STATE_SCOPE_CONFIG
+ return None
def is_message_enabled(self, msg_descr, line=None, confidence=None):
"""return true if the message associated to the given message id is