From c05261efcfb868e012b19fdf2996152786e68e69 Mon Sep 17 00:00:00 2001 From: Eloston Date: Thu, 7 Mar 2019 16:06:08 +0000 Subject: [PATCH] devutils: Fix more pylint errors --- devutils/sync_debian_repo.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devutils/sync_debian_repo.py b/devutils/sync_debian_repo.py index 10d00ed8..35c45f3e 100755 --- a/devutils/sync_debian_repo.py +++ b/devutils/sync_debian_repo.py @@ -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