FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

renamed unused variables · SpoonMeiser/GitPython@ccaae09 · GitHub

Repository navigation

Commit ccaae09

Browse files
authored andcommitted
renamed unused variables
1 parent 4f583a8 commit ccaae09

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎git/objects/tag.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ def _set_cache_(self, attr):
5252
ostream = self.repo.odb.stream(self.binsha)
5353
lines = ostream.read().decode(defenc).splitlines()
5454

55-
obj, hexsha = lines[0].split(" ") # object <hexsha> @UnusedVariable
56-
type_token, type_name = lines[1].split(" ") # type <type_name> @UnusedVariable
55+
_obj, hexsha = lines[0].split(" ")
56+
_type_token, type_name = lines[1].split(" ")
5757
self.object = \
5858
get_object_type_by_name(type_name.encode('ascii'))(self.repo, hex_to_bin(hexsha))
5959

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL