summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Cormack <chrisc@catalyst.net.nz>2015-07-13 16:39:27 +1200
committerChris Cormack <chrisc@catalyst.net.nz>2015-07-13 16:39:27 +1200
commitabebfb52b52eebe8d44a66562459e2707b9badf9 (patch)
tree36ee8ff39d130661b7056981d0462f21c0cb64c2
parent6eb891692cc08d07bc5bf2b304f65e24c019a4cd (diff)
parent4666a5ae4d8fab588c7481d6d48ff6ea6eee1da1 (diff)
downloadgit-bz-abebfb52b52eebe8d44a66562459e2707b9badf9.tar.gz
Merge remote-tracking branch 'kc/fishsoup' into kcfishsoup
-rwxr-xr-xgit-bz3
1 files changed, 2 insertions, 1 deletions
diff --git a/git-bz b/git-bz
index 442ce56..643d14c 100755
--- a/git-bz
+++ b/git-bz
@@ -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)