Skip to content

Commit 2d66f8f

Browse files
pratik-anuragByron
authored andcommitted
renamed unused variables
1 parent 16c2d9c commit 2d66f8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎git/index/base.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def _delete_entries_cache(self):
158158

159159
def _deserialize(self, stream):
160160
"""Initialize this instance with index values read from the given stream"""
161-
self.version, self.entries, self._extension_data, conten_sha = read_cache(stream) # @UnusedVariable
161+
self.version, self.entries, self._extension_data, _conten_sha = read_cache(stream)
162162
return self
163163

164164
def _entries_sorted(self):
@@ -392,7 +392,7 @@ def raise_exc(e):
392392
continue
393393
# END glob handling
394394
try:
395-
for root, dirs, files in os.walk(abs_path, onerror=raise_exc): # @UnusedVariable
395+
for root, _dirs, files in os.walk(abs_path, onerror=raise_exc):
396396
for rela_file in files:
397397
# add relative paths only
398398
yield osp.join(root.replace(rs, ''), rela_file)

0 commit comments

Comments
 (0)