devutils: Fix more pylint errors

This commit is contained in:
Eloston
2019-03-07 16:06:08 +00:00
parent 18aa64bf69
commit c05261efcf

View File

@@ -85,8 +85,7 @@ def _get_path_safely(base_tree, file_path, must_exist=True):
if must_exist:
_get_logger().error('Could not find path "%s". Aborting.', file_path)
raise _NoMatchingPathError()
else:
return None
return None
return git_object