From 9f7e92cf00814fc6c4fb66527d33f7030f98e6bf Mon Sep 17 00:00:00 2001 From: Pratik Anurag Date: Tue, 15 Oct 2019 19:52:48 +0530 Subject: =?UTF-8?q?removed=20Unnecessary=20=E2=80=9Celse=E2=80=9D=20after?= =?UTF-8?q?=20=E2=80=9Creturn=E2=80=9D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- git/objects/submodule/base.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/git/objects/submodule/base.py b/git/objects/submodule/base.py index 384f7c5f..bc76bcce 100644 --- a/git/objects/submodule/base.py +++ b/git/objects/submodule/base.py @@ -233,8 +233,7 @@ class Submodule(IndexObject, Iterable, Traversable): def _module_abspath(cls, parent_repo, path, name): if cls._need_gitfile_submodules(parent_repo.git): return osp.join(parent_repo.git_dir, 'modules', name) - else: - return osp.join(parent_repo.working_tree_dir, path) + return osp.join(parent_repo.working_tree_dir, path) # end @classmethod -- cgit v1.2.1