From: W. Trevor King Date: Fri, 6 Apr 2012 18:14:30 +0000 (-0400) Subject: Log the gpg_message in mailpipe._get_verified_message instead of printing it. X-Git-Tag: v0.2~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=f86399ab02046ddd90af5ac536859efee60a69fc;p=pygrader.git Log the gpg_message in mailpipe._get_verified_message instead of printing it. --- diff --git a/pygrader/mailpipe.py b/pygrader/mailpipe.py index 214765c..2cb1632 100644 --- 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',