summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratik Anurag <panurag247365@gmail.com>2019-10-15 17:26:49 +0530
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-15 15:13:01 +0200
commit16c2d9c8f0e10393bf46680d93cdcd3ce6aa9cfd (patch)
tree628f4b3e745b22547609842c2711b2d0325b827f
parent89d11338daef3fc8f372f95847593bf07cf91ccf (diff)
downloadgitpython-16c2d9c8f0e10393bf46680d93cdcd3ce6aa9cfd.tar.gz
renamed unused variables
-rw-r--r--git/test/test_docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py
index c14f5ff3..f52a0fb2 100644
--- a/git/test/test_docs.py
+++ b/git/test/test_docs.py
@@ -349,7 +349,7 @@ class Tutorials(TestBase):
# The index contains all blobs in a flat list
assert len(list(index.iter_blobs())) == len([o for o in repo.head.commit.tree.traverse() if o.type == 'blob'])
# Access blob objects
- for (path, stage), entry in index.entries.items(): # @UnusedVariable
+ for (path, _stage), entry in index.entries.items():
pass
new_file_path = os.path.join(repo.working_tree_dir, 'new-file-name')
open(new_file_path, 'w').close()