FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

updated db.py, removed unused variables · gitpython-developers/GitPython@916a039 · GitHub

Repository navigation

Commit 916a039

Browse files
authored andcommitted
updated db.py, removed unused variables
1 parent d759e17 commit 916a039

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎git/db.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def partial_to_complete_sha_hex(self, partial_hexsha):
5151
:note: currently we only raise BadObject as git does not communicate
5252
AmbiguousObjects separately"""
5353
try:
54-
hexsha, typename, size = self._git.get_object_header(partial_hexsha) # @UnusedVariable
54+
hexsha, _typename, _size = self._git.get_object_header(partial_hexsha)
5555
return hex_to_bin(hexsha)
5656
except (GitCommandError, ValueError):
5757
raise BadObject(partial_hexsha)

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL