diff options
author | W. Trevor King <wking@drexel.edu> | 2009-07-18 16:16:13 -0400 |
---|---|---|
committer | W. Trevor King <wking@drexel.edu> | 2009-07-18 16:16:13 -0400 |
commit | 9b67dfc5c49df7663c97d5b992ae967359cbcea1 (patch) | |
tree | 98daf0412428050cb63834724e31eb8d29b31ebf /interfaces/email/interactive/send_pgp_mime.py | |
parent | fa18ec73f4b2b3bba47186570b05f2adb8ada8ab (diff) | |
download | bugseverywhere-9b67dfc5c49df7663c97d5b992ae967359cbcea1.tar.gz |
Major be-handle-mail rewrite to make things more modular.
Added Command and Message classes, and use new flexibility in
send_pgp_mime.py.
Diffstat (limited to 'interfaces/email/interactive/send_pgp_mime.py')
-rw-r--r-- | interfaces/email/interactive/send_pgp_mime.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/interfaces/email/interactive/send_pgp_mime.py b/interfaces/email/interactive/send_pgp_mime.py index 7a41550..3a60013 100644 --- a/interfaces/email/interactive/send_pgp_mime.py +++ b/interfaces/email/interactive/send_pgp_mime.py @@ -158,7 +158,7 @@ def attach_root(header, root_part): Attach the email.Message root_part to the email.Message header without generating a multi-part message. """ - for k,v in self.header.items(): + for k,v in header.items(): root_part[k] = v return root_part @@ -243,7 +243,7 @@ def target_emails(msg): + resent_ccs + resent_bccs) return [addr[1] for addr in all_recipients] -class EncryptedMessageFactory (object): +class PGPMimeMessageFactory (object): """ See http://www.ietf.org/rfc/rfc3156.txt for specification details. >>> from_addr = "me@big.edu" |