aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/email/interactive/send_pgp_mime.py
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-09-11 11:52:02 -0400
committerW. Trevor King <wking@drexel.edu>2009-09-11 11:52:02 -0400
commitbe6bf33dbb3689a13de88add209e85cdd632c4a4 (patch)
tree972bf2854bd98ad9af1db1cfaa2c441a0d81ed56 /interfaces/email/interactive/send_pgp_mime.py
parent027cda3613f7a81de557d6dd929d0d4de40192a1 (diff)
downloadbugseverywhere-be6bf33dbb3689a13de88add209e85cdd632c4a4.tar.gz
Typo EncryptedMessageFactory -> PGPMimeMessageFactory in send-pgp-mime.py
I changed the class name in commit wking@drexel.edu-20090718201613-n242qfl4s3j3kfjf but missed two references.
Diffstat (limited to 'interfaces/email/interactive/send_pgp_mime.py')
-rw-r--r--interfaces/email/interactive/send_pgp_mime.py4
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 55767b3..939648c 100644
--- 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 = EncryptedMessageFactory('check 1 2\\ncheck 1 2\\n')
+ >>> m = PGPMimeMessageFactory('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 = EncryptedMessageFactory(body)
+ m = PGPMimeMessageFactory(body)
if options.mode == "sign":
bodymsg = m.sign(header)
elif options.mode == "encrypt":