summaryrefslogtreecommitdiff
path: root/pylint/lint/expand_modules.py
diff options
context:
space:
mode:
Diffstat (limited to 'pylint/lint/expand_modules.py')
-rw-r--r--pylint/lint/expand_modules.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/pylint/lint/expand_modules.py b/pylint/lint/expand_modules.py
index 66fdcb86b..2c080c804 100644
--- a/pylint/lint/expand_modules.py
+++ b/pylint/lint/expand_modules.py
@@ -26,7 +26,6 @@ def get_python_path(filepath: str) -> str:
dirname = os.path.dirname(dirname)
if old_dirname == dirname:
return os.getcwd()
- return None
def _basename_in_ignore_list_re(base_name, ignore_list_re):