diff options
author | Trevor Saunders <trev.saunders@gmail.com> | 2012-07-17 12:50:33 -0400 |
---|---|---|
committer | Chris Cormack <chris@bigballofwax.co.nz> | 2013-06-24 20:18:33 +1200 |
commit | 077452f8e483a758698844b174e334dad5d4e423 (patch) | |
tree | abd7e716b399c4b954fee5ef9713d3441f54863c | |
parent | 831d4d49cd0f77348ae289495b2cfe3393dcedee (diff) | |
download | git-bz-077452f8e483a758698844b174e334dad5d4e423.tar.gz |
Don't choke on UTF-8 chars in bugzilla summaries when writing commit templates.
Conflicts:
git-bz
-rwxr-xr-x | git-bz | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -807,7 +807,7 @@ def edit_template(template): handle, filename = tempfile.mkstemp(".txt", "git-bz-") f = os.fdopen(handle, "w") - f.write(template.encode("UTF-8")) + f.write(template.encode("utf-8")) f.close() edit_file(filename) |