From 916a0399c0526f0501ac78e2f70b833372201550 Mon Sep 17 00:00:00 2001 From: Pratik Anurag Date: Tue, 15 Oct 2019 17:07:29 +0530 Subject: updated db.py, removed unused variables --- git/db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git/db.py') 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) -- cgit v1.2.1