From 5690e97cb9a8a84ae5927bfcb32ec0a736b5f615 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: May 19 2015 17:52:23 +0000 Subject: Adjust the debugging output to print the right thing --- diff --git a/milters/comment_email_milter.py b/milters/comment_email_milter.py index 2ef55e7..1027a72 100644 --- a/milters/comment_email_milter.py +++ b/milters/comment_email_milter.py @@ -134,7 +134,7 @@ class PagureMilter(Milter.Base): tohash= msg['to'].split('@')[0].split('+')[-1] if m.hexdigest() != tohash: self.log('hash: %s' % m.hexdigest()) - self.log('tohash: %s' % msg['tohash']) + self.log('tohash: %s' % tohash) self.log('Hash does not correspond to the destination') return Milter.CONTINUE