Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit9f7e92c

Browse files
pratik-anuragByron
authored andcommitted
removed Unnecessary “else” after “return”
1 parent69d7a0c commit9f7e92c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎git/objects/submodule/base.py

Lines changed: 1 addition & 2 deletions
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
ifcls._need_gitfile_submodules(parent_repo.git):
235235
returnosp.join(parent_repo.git_dir,'modules',name)
236-
else:
237-
returnosp.join(parent_repo.working_tree_dir,path)
236+
returnosp.join(parent_repo.working_tree_dir,path)
238237
# end
239238

240239
@classmethod

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp