diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-05-28 21:40:27 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-05-28 21:40:27 +0800 |
commit | 69ca329f6015301e289fcbb3c021e430c1bdfa81 (patch) | |
tree | 62123d4c88991371b1ead572b35c668215bc8833 /git/remote.py | |
parent | 9c6209f12e78218632319620da066c99d6f771d8 (diff) | |
download | gitpython-69ca329f6015301e289fcbb3c021e430c1bdfa81.tar.gz |
Fix flake8 errors
Diffstat (limited to 'git/remote.py')
-rw-r--r-- | git/remote.py | 2 |
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) |