Skip to content

Commit 9f7e92c

Browse files
pratik-anuragByron
authored andcommitted
removed Unnecessary “else” after “return”
1 parent 69d7a0c commit 9f7e92c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

git/objects/submodule/base.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ def _config_parser_constrained(self, read_only):
233233
def _module_abspath(cls, parent_repo, path, name):
234234
if cls._need_gitfile_submodules(parent_repo.git):
235235
return osp.join(parent_repo.git_dir, 'modules', name)
236-
else:
237-
return osp.join(parent_repo.working_tree_dir, path)
236+
return osp.join(parent_repo.working_tree_dir, path)
238237
# end
239238

240239
@classmethod

0 commit comments

Comments
 (0)