summaryrefslogtreecommitdiff
path: root/pylint/checkers/misc.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/checkers/misc.py')
-rw-r--r--pylint/checkers/misc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pylint/checkers/misc.py b/pylint/checkers/misc.py
index 7248024cf..0d1eac8a8 100644
--- a/pylint/checkers/misc.py
+++ b/pylint/checkers/misc.py
@@ -133,6 +133,7 @@ class EncodingChecker(BaseChecker):
args='Cannot decode using encoding "{}",'
" bad encoding".format(file_encoding),
)
+ return None
def process_module(self, module):
"""inspect the source file to find encoding problem"""