From f86399ab02046ddd90af5ac536859efee60a69fc Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 6 Apr 2012 14:14:30 -0400 Subject: [PATCH] Log the gpg_message in mailpipe._get_verified_message instead of printing it. --- pygrader/mailpipe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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', -- 2.26.2