aboutsummaryrefslogtreecommitdiffstats
path: root/interfaces/email/interactive
diff options
context:
space:
mode:
Diffstat (limited to 'interfaces/email/interactive')
-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":