diff options
| author | Bert Wesarg <Bert.Wesarg@googlemail.com> | 2016-07-19 09:17:51 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-07-19 09:17:51 +0200 |
| commit | b827f8162f61285754202bec8494192bc229f75a (patch) | |
| tree | 9a12d6894db27448ae9ba11aebb70355f75ac9b7 | |
| parent | cee0cec2d4a27bbc7af10b91a1ad39d735558798 (diff) | |
| download | gitpython-b827f8162f61285754202bec8494192bc229f75a.tar.gz | |
Use binary string constant for concatenation.
| -rw-r--r-- | git/refs/symbolic.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/refs/symbolic.py b/git/refs/symbolic.py index d00ef617..ec2944c6 100644 --- a/git/refs/symbolic.py +++ b/git/refs/symbolic.py @@ -313,7 +313,7 @@ class SymbolicReference(object): lfd = LockedFD(fpath) fd = lfd.open(write=True, stream=True) - fd.write(write_value.encode('ascii') + '\n') + fd.write(write_value.encode('ascii') + b'\n') lfd.commit() # Adjust the reflog |
