summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--git/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/db.py b/git/db.py
index 653fa7da..9b334528 100644
--- a/git/db.py
+++ b/git/db.py
@@ -51,7 +51,7 @@ class GitCmdObjectDB(LooseObjectDB):
:note: currently we only raise BadObject as git does not communicate
AmbiguousObjects separately"""
try:
- hexsha, typename, size = self._git.get_object_header(partial_hexsha) # @UnusedVariable
+ hexsha, _typename, _size = self._git.get_object_header(partial_hexsha)
return hex_to_bin(hexsha)
except (GitCommandError, ValueError):
raise BadObject(partial_hexsha)