summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratik Anurag <panurag247365@gmail.com>2019-10-15 17:07:29 +0530
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-15 15:13:01 +0200
commit916a0399c0526f0501ac78e2f70b833372201550 (patch)
tree6c667d59239382ddb210428359ab58e612637e5d
parentd759e17181c21379d7274db76d4168cdbb403ccf (diff)
downloadgitpython-916a0399c0526f0501ac78e2f70b833372201550.tar.gz
updated db.py, removed unused variables
-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)