projects
/
be.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
027cda3
)
Typo EncryptedMessageFactory -> PGPMimeMessageFactory in send-pgp-mime.py
author
W. Trevor King
<wking@drexel.edu>
Fri, 11 Sep 2009 15:52:02 +0000
(11:52 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 11 Sep 2009 15:52:02 +0000
(11:52 -0400)
I changed the class name in commit
wking@drexel.edu-
20090718201613
-n242qfl4s3j3kfjf
but missed two references.
interfaces/email/interactive/send_pgp_mime.py
patch
|
blob
|
history
diff --git
a/interfaces/email/interactive/send_pgp_mime.py
b/interfaces/email/interactive/send_pgp_mime.py
index 55767b3d42270900c8407d8ed2bdba53ed05323d..939648c8a01904c6e42337779f4610483e8e4a1c 100644
(file)
--- a/
interfaces/email/interactive/send_pgp_mime.py
+++ b/
interfaces/email/interactive/send_pgp_mime.py
@@
-282,7
+282,7
@@
class PGPMimeMessageFactory (object):
True
>>> target_emails(header) == [to_addr]
True
- >>> m =
Encrypted
MessageFactory('check 1 2\\ncheck 1 2\\n')
+ >>> m =
PGPMime
MessageFactory('check 1 2\\ncheck 1 2\\n')
>>> print flatten(m.clearBodyPart())
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
@@
-591,7
+591,7
@@
if __name__ == '__main__':
if body == None:
raise Exception, "missing body"
- m =
Encrypted
MessageFactory(body)
+ m =
PGPMime
MessageFactory(body)
if options.mode == "sign":
bodymsg = m.sign(header)
elif options.mode == "encrypt":