From 7caf156b0bbca344b2e5330f4b43088c57eb974a Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 11 Sep 2009 11:52:02 -0400 Subject: [PATCH] Typo EncryptedMessageFactory -> PGPMimeMessageFactory in send-pgp-mime.py I changed the class name in commit wking@drexel.edu-20090718201613-n242qfl4s3j3kfjf but missed two references. --- interfaces/email/interactive/send_pgp_mime.py | 4 ++-- 1 file 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": -- 2.26.2