diff options
author | Pratik Anurag <panurag247365@gmail.com> | 2019-10-15 17:07:29 +0530 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2019-10-15 15:13:01 +0200 |
commit | 916a0399c0526f0501ac78e2f70b833372201550 (patch) | |
tree | 6c667d59239382ddb210428359ab58e612637e5d | |
parent | d759e17181c21379d7274db76d4168cdbb403ccf (diff) | |
download | gitpython-916a0399c0526f0501ac78e2f70b833372201550.tar.gz |
updated db.py, removed unused variables
-rw-r--r-- | git/db.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |