diff options
author | Anil Khatri <anil.soccer.khatri@gmail.com> | 2019-10-22 21:40:35 +0530 |
---|---|---|
committer | Anil Khatri <anil.soccer.khatri@gmail.com> | 2019-10-22 21:41:30 +0530 |
commit | d52c5783c08f4f9e397c4dad55bbfee2b8c61c5f (patch) | |
tree | 326b2ecd56e8b874165968ed75c4c6634fb9ea59 /git/test/test_docs.py | |
parent | 0685d629f86ef27e4b68947f63cb53f2e750d3a7 (diff) | |
download | gitpython-d52c5783c08f4f9e397c4dad55bbfee2b8c61c5f.tar.gz |
fixed unused variable found PYL-W0612
Diffstat (limited to 'git/test/test_docs.py')
-rw-r--r-- | git/test/test_docs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/test/test_docs.py b/git/test/test_docs.py index a1fea454..a393ded8 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(): + 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() |