summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratik Anurag <panurag247365@gmail.com>2019-10-15 17:16:36 +0530
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-15 15:13:01 +0200
commitccaae094ce6be2727c90788fc5b1222fda3927c8 (patch)
tree578a19d27ea0fb96ebe02d8eb8933078176762e6
parent4f583a810162c52cb76527d60c3ab6687b238938 (diff)
downloadgitpython-ccaae094ce6be2727c90788fc5b1222fda3927c8.tar.gz
renamed unused variables
-rw-r--r--git/objects/tag.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/objects/tag.py b/git/objects/tag.py
index 4295a03a..c6838336 100644
--- a/git/objects/tag.py
+++ b/git/objects/tag.py
@@ -52,8 +52,8 @@ class TagObject(base.Object):
ostream = self.repo.odb.stream(self.binsha)
lines = ostream.read().decode(defenc).splitlines()
- obj, hexsha = lines[0].split(" ") # object <hexsha> @UnusedVariable
- type_token, type_name = lines[1].split(" ") # type <type_name> @UnusedVariable
+ _obj, hexsha = lines[0].split(" ")
+ _type_token, type_name = lines[1].split(" ")
self.object = \
get_object_type_by_name(type_name.encode('ascii'))(self.repo, hex_to_bin(hexsha))