projects
/
pygrader.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30b2842
)
Log the gpg_message in mailpipe._get_verified_message instead of printing it.
author
W. Trevor King
<wking@drexel.edu>
Fri, 6 Apr 2012 18:14:30 +0000
(14:14 -0400)
committer
W. Trevor King
<wking@drexel.edu>
Fri, 6 Apr 2012 18:14:30 +0000
(14:14 -0400)
pygrader/mailpipe.py
patch
|
blob
|
history
diff --git
a/pygrader/mailpipe.py
b/pygrader/mailpipe.py
index 214765c269a664cc8eab0aefbc2aebfc74bcdd35..2cb1632bde7fd36885f32562670a56913f19eda1 100644
(file)
--- a/
pygrader/mailpipe.py
+++ b/
pygrader/mailpipe.py
@@
-269,7
+269,7
@@
def _get_verified_message(message, pgp_key, use_color=None):
_LOG.warn(_color_string(
string='{} has an invalid signature'.format(mid), color=bad))
pass #return None
-
print
(gpg_message)
+
_LOG.info
(gpg_message)
for k,v in message.items(): # copy over useful headers
if k.lower() not in ['content-type',
'mime-version',