summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)