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

Appearance settings

Commit 1349ee6

Browse filesBrowse files
pratik-anuragByron
authored andcommitted
renamed unused variables
1 parent b7d2671 commit 1349ee6
Copy full SHA for 1349ee6

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎git/objects/commit.py‎

Copy file name to clipboardExpand all lines: git/objects/commit.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ def _get_intermediate_items(cls, commit):
140140
def _set_cache_(self, attr):
141141
if attr in Commit.__slots__:
142142
# read the data in a chunk, its faster - then provide a file wrapper
143-
binsha, typename, self.size, stream = self.repo.odb.stream(self.binsha) # @UnusedVariable
143+
_binsha, _typename, self.size, stream = self.repo.odb.stream(self.binsha)
144144
self._deserialize(BytesIO(stream.read()))
145145
else:
146146
super(Commit, self)._set_cache_(attr)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.