Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed Unnecessary “else” after “return”
  • Loading branch information
pratik-anurag authored Oct 15, 2019
commit bfdbd82577cd77a529d5cbc5dc9dcb893b23f319
3 changes: 1 addition & 2 deletions git/objects/submodule/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,7 @@ def _config_parser_constrained(self, read_only):
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
Expand Down