FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

removed Unnecessary “else” after “return” · gitpython-developers/GitPython@f5eb904 · GitHub

Repository navigation

Commit f5eb904

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎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
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)

Back | FazBrowse Home | New Git URL