diff options
author | Chris Cormack <chrisc@catalyst.net.nz> | 2015-07-13 16:39:27 +1200 |
---|---|---|
committer | Chris Cormack <chrisc@catalyst.net.nz> | 2015-07-13 16:39:27 +1200 |
commit | abebfb52b52eebe8d44a66562459e2707b9badf9 (patch) | |
tree | 36ee8ff39d130661b7056981d0462f21c0cb64c2 | |
parent | 6eb891692cc08d07bc5bf2b304f65e24c019a4cd (diff) | |
parent | 4666a5ae4d8fab588c7481d6d48ff6ea6eee1da1 (diff) | |
download | git-bz-abebfb52b52eebe8d44a66562459e2707b9badf9.tar.gz |
Merge remote-tracking branch 'kc/fishsoup' into kcfishsoup
-rwxr-xr-x | git-bz | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,5 @@ #!/usr/bin/python +# -*- coding: utf_8 -*- # # git-bz - git subcommand to integrate with bugzilla # @@ -807,7 +808,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) f.close() edit_file(filename) |