projects
/
pgp-mime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
954e48e
)
Raise an exception for unrecognized errors in send_pgp_mime.
author
W. Trevor King
<wking@drexel.edu>
Sat, 16 Apr 2011 23:27:50 +0000
(19:27 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Tue, 20 Mar 2012 21:21:18 +0000
(17:21 -0400)
interfaces/email/interactive/send_pgp_mime.py
patch
|
blob
|
history
diff --git
a/interfaces/email/interactive/send_pgp_mime.py
b/interfaces/email/interactive/send_pgp_mime.py
index c19483ef157f609ae1178708f749cd8436b57c1e..b46eeb41b868d534d0501cb9ee739ea3b117acc8 100644
(file)
--- a/
interfaces/email/interactive/send_pgp_mime.py
+++ b/
interfaces/email/interactive/send_pgp_mime.py
@@
-601,7
+601,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: