summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratik Anurag <panurag247365@gmail.com>2019-10-15 17:15:04 +0530
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-15 15:13:01 +0200
commit4f583a810162c52cb76527d60c3ab6687b238938 (patch)
tree149c87c0f10306514d3362cb4500aa9dee81fd98
parent1a5cef5c7c4a7130626fc2d7d5d562e1e985bbd0 (diff)
downloadgitpython-4f583a810162c52cb76527d60c3ab6687b238938.tar.gz
changed unused variables assingment
-rw-r--r--git/objects/fun.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/fun.py b/git/objects/fun.py
index 38dce0a5..9058ac16 100644
--- a/git/objects/fun.py
+++ b/git/objects/fun.py
@@ -156,7 +156,7 @@ def traverse_trees_recursive(odb, tree_shas, path_prefix):
# END skip already done items
entries = [None for _ in range(nt)]
entries[ti] = item
- sha, mode, name = item # its faster to unpack @UnusedVariable
+ _sha, mode, name = item
is_dir = S_ISDIR(mode) # type mode bits
# find this item in all other tree data items