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.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/interfaces/email/interactive/send_pgp_mime.py b/interfaces/email/interactive/send_pgp_mime.py
index 2e6c487..05df473 100644
--- a/interfaces/email/interactive/send_pgp_mime.py
+++ b/interfaces/email/interactive/send_pgp_mime.py
@@ -603,7 +603,7 @@ if __name__ == '__main__':
elif options.mode == "plain":
bodymsg = m.plain()
else:
- print "Unrecognized mode '%s'" % options.mode
+ raise Exception("unrecognized mode '%s'" % options.mode)
message = attach_root(headermsg, bodymsg)
if options.output == True: