Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d52c578

Browse files
committed
fixed unused variable found PYL-W0612
1 parent 0685d62 commit d52c578

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/test/test_docs.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def test_references_and_objects(self, rw_dir):
349349
# The index contains all blobs in a flat list
350350
assert len(list(index.iter_blobs())) == len([o for o in repo.head.commit.tree.traverse() if o.type == 'blob'])
351351
# Access blob objects
352-
for (path, _stage), entry in index.entries.items():
352+
for (_path, _stage), entry in index.entries.items():
353353
pass
354354
new_file_path = os.path.join(repo.working_tree_dir, 'new-file-name')
355355
open(new_file_path, 'w').close()

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /