diff options
author | Pratik Anurag <panurag247365@gmail.com> | 2019-10-15 19:52:48 +0530 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2019-10-15 18:47:24 +0200 |
commit | 9f7e92cf00814fc6c4fb66527d33f7030f98e6bf (patch) | |
tree | 2518b4c14e6dc0495a15a447e6b7bbadff0cf0b9 | |
parent | 69d7a0c42cb63dab2f585fb47a08044379f1a549 (diff) | |
download | gitpython-9f7e92cf00814fc6c4fb66527d33f7030f98e6bf.tar.gz |
removed Unnecessary “else” after “return”
-rw-r--r-- | git/objects/submodule/base.py | 3 |
1 files changed, 1 insertions, 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 |