From: W. Trevor King Date: Fri, 11 Sep 2009 15:52:02 +0000 (-0400) Subject: Typo EncryptedMessageFactory -> PGPMimeMessageFactory in send-pgp-mime.py X-Git-Tag: 1.0.0~62^2~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=be6bf33dbb3689a13de88add209e85cdd632c4a4;p=be.git Typo EncryptedMessageFactory -> PGPMimeMessageFactory in send-pgp-mime.py I changed the class name in commit wking@drexel.edu-20090718201613-n242qfl4s3j3kfjf but missed two references. --- 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":