summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPratik Anurag <panurag247365@gmail.com>2019-10-15 17:24:49 +0530
committerSebastian Thiel <sebastian.thiel@icloud.com>2019-10-15 15:13:01 +0200
commit8ad6dc07790fe567412ccbc2a539f4501cb32ab2 (patch)
treef3f4788d778a4a1f5d5321179db8e6d73e9b78fa
parent199099611dd2e62bae568897f163210a3e2d7dbb (diff)
downloadgitpython-8ad6dc07790fe567412ccbc2a539f4501cb32ab2.tar.gz
renamed unused vars
-rw-r--r--git/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index b4b6deea..b6a5bcc6 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -295,7 +295,7 @@ class FetchInfo(object):
# parse lines
control_character, operation, local_remote_ref, remote_local_ref, note = match.groups()
try:
- new_hex_sha, fetch_operation, fetch_note = fetch_line.split("\t") # @UnusedVariable
+ _new_hex_sha, _fetch_operation, fetch_note = fetch_line.split("\t")
ref_type_name, fetch_note = fetch_note.split(' ', 1)
except ValueError: # unpack error
raise ValueError("Failed to parse FETCH_HEAD line: %r" % fetch_line)