aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-15 15:48:55 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-15 15:48:55 -0400
commitc3bb31ecee8f3736cb98f9f99b788639ec1c591b (patch)
treeb8c5e0548739bb9a58ee31b368d067aa2610ee9a
parent5fd7c1f7103d52e41099080d958c49de8d83a698 (diff)
downloadbugseverywhere-c3bb31ecee8f3736cb98f9f99b788639ec1c591b.tar.gz
Oops, the header keys in be-handle-mail should all be unicode.
Even though I convert to ascii in send_pgp_mime.Mail.__init__(), it's still good to be consistent inside each module ;).
-rwxr-xr-xinterfaces/email/interactive/be-handle-mail8
1 files changed, 4 insertions, 4 deletions
diff --git a/interfaces/email/interactive/be-handle-mail b/interfaces/email/interactive/be-handle-mail
index c92fec4..8232925 100755
--- a/interfaces/email/interactive/be-handle-mail
+++ b/interfaces/email/interactive/be-handle-mail
@@ -139,10 +139,10 @@ def run_message(msg_text):
author_addr = "wking"
response_header = [u"From: %s" % HANDLER_ADDRESS,
u"To: %s" % author_addr,
- "Date: %s" % libbe.utility.time_to_str(time.time()),
- "Content-Type: text/plain; charset=%s" % encoding,
- "Content-Transfer-Encoding: 8bit",
- "In-reply-to: %s" % (id),
+ u"Date: %s" % libbe.utility.time_to_str(time.time()),
+ u"Content-Type: text/plain; charset=%s" % encoding,
+ u"Content-Transfer-Encoding: 8bit",
+ u"In-reply-to: %s" % (id),
u"Subject: %s Re: %s" % (SUBJECT_COMMENT, command),
]
response_body = [u"Results of running: (exit code %d)" % ret,