summaryrefslogtreecommitdiff
path: root/astroid/builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'astroid/builder.py')
-rw-r--r--astroid/builder.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/astroid/builder.py b/astroid/builder.py
index afb9daf1..b870c5a6 100644
--- a/astroid/builder.py
+++ b/astroid/builder.py
@@ -64,6 +64,7 @@ else:
match = _ENCODING_RGX.match(line)
if match is not None:
return match.group(1)
+ return None
def open_source_file(filename):
"""get data for parsing a file"""