Oops, _now_ I've fixed the multipart generation in be-handle-mail
authorW. Trevor King <wking@drexel.edu>
Sun, 19 Jul 2009 19:32:41 +0000 (15:32 -0400)
committerW. Trevor King <wking@drexel.edu>
Sun, 19 Jul 2009 19:32:41 +0000 (15:32 -0400)
interfaces/email/interactive/be-handle-mail

index 1ca53fae0482010659d2a2a83c8e0200bfecf437..e5f9dcf34125000331aca1012566cf3a21282d35 100755 (executable)
@@ -468,11 +468,11 @@ class Message (object):
     def response_email(self):
         assert len(self._response_messages) > 0
         if len(self._response_messages) == 1:
-            response_body = self._response_messages[0])
+            response_body = self._response_messages[0]
         else:
-            repsonse_body = MIMEMultipart()
+            response_body = MIMEMultipart()
             for message in self._response_messages:
-                resposne_body.attach(message)
+                response_body.attach(message)
         return send_pgp_mime.attach_root(self.response_header, response_body)
 
 def open_logfile(logpath=None):