Skip to content

Commit f5eb904

Browse files
pratik-anuragByron
authored andcommitted
removed Unnecessary “else” after “return”
1 parent 19a4df6 commit f5eb904

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

‎git/index/fun.py

+1-2
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
if len(entry) == 1:
175175
return (entry[0].path, entry[0].stage)
176-
else:
177-
return tuple(entry)
176+
return tuple(entry)
178177
# END handle entry
179178

180179

0 commit comments

Comments
 (0)