From c3bb31ecee8f3736cb98f9f99b788639ec1c591b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 15 Jul 2009 15:48:55 -0400 Subject: [PATCH] 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 ;). --- interfaces/email/interactive/be-handle-mail | 8 ++++---- 1 file 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, -- 2.26.2