summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py
index 17fe6c2f..8b00ba0a 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -686,7 +686,7 @@ class Remote(LazyMixin, Iterable):
# read head information
with open(osp.join(self.repo.common_dir, 'FETCH_HEAD'), 'rb') as fp:
- fetch_head_info = [l.decode(defenc) for l in fp.readlines()]
+ fetch_head_info = [line.decode(defenc) for line in fp.readlines()]
l_fil = len(fetch_info_lines)
l_fhi = len(fetch_head_info)