summaryrefslogtreecommitdiff
path: root/git/index
diff options
context:
space:
mode:
Diffstat (limited to 'git/index')
-rw-r--r--git/index/fun.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/git/index/fun.py b/git/index/fun.py
index f0091a3a..5906a358 100644
--- a/git/index/fun.py
+++ b/git/index/fun.py
@@ -173,8 +173,7 @@ def entry_key(*entry):
:param entry: One instance of type BaseIndexEntry or the path and the stage"""
if len(entry) == 1:
return (entry[0].path, entry[0].stage)
- else:
- return tuple(entry)
+ return tuple(entry)
# END handle entry