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

Commitf5eb904

Browse files
pratik-anuragByron
authored andcommitted
removed Unnecessary “else” after “return”
1 parent19a4df6 commitf5eb904

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎git/index/fun.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,7 @@ def entry_key(*entry):
173173
:param entry: One instance of type BaseIndexEntry or the path and the stage"""
174174
iflen(entry)==1:
175175
return (entry[0].path,entry[0].stage)
176-
else:
177-
returntuple(entry)
176+
returntuple(entry)
178177
# END handle entry
179178

180179

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp