summaryrefslogtreecommitdiff
path: root/git/refs/symbolic.py
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2020-05-28 21:40:27 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2020-05-28 21:40:27 +0800
commit69ca329f6015301e289fcbb3c021e430c1bdfa81 (patch)
tree62123d4c88991371b1ead572b35c668215bc8833 /git/refs/symbolic.py
parent9c6209f12e78218632319620da066c99d6f771d8 (diff)
downloadgitpython-69ca329f6015301e289fcbb3c021e430c1bdfa81.tar.gz
Fix flake8 errors
Diffstat (limited to 'git/refs/symbolic.py')
-rw-r--r--git/refs/symbolic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py
index aa449528..ee006cbc 100644
--- a/git/refs/symbolic.py
+++ b/git/refs/symbolic.py
@@ -466,7 +466,7 @@ class SymbolicReference(object):
# write-binary is required, otherwise windows will
# open the file in text mode and change LF to CRLF !
with open(pack_file_path, 'wb') as fd:
- fd.writelines(l.encode(defenc) for l in new_lines)
+ fd.writelines(line.encode(defenc) for line in new_lines)
except (OSError, IOError):
pass # it didn't exist at all