From 08fbe3d66f420cddbd59ed3c7603c46f60a50a5b Mon Sep 17 00:00:00 2001 From: Björn Persson Date: Sep 16 2020 10:14:10 +0000 Subject: Expanded comments. --- diff --git a/pagure-milters/comment_email_milter.py b/pagure-milters/comment_email_milter.py index 3ea0171..ed06758 100644 --- a/pagure-milters/comment_email_milter.py +++ b/pagure-milters/comment_email_milter.py @@ -288,6 +288,9 @@ class PagureMilter(Milter.Base): self.log("Comment added") # The message is now effectively delivered. Tell the MTA to accept # and discard it. + # If you want the message to be processed by another milter after + # this one, or delivered to a mailbox the usual way, then change + # DROP to ACCEPT. return Milter.DROP self.log("Could not add the comment to ticket to pagure") self.log(req.text) @@ -329,6 +332,9 @@ class PagureMilter(Milter.Base): self.log("Comment added on PR") # The message is now effectively delivered. Tell the MTA to accept # and discard it. + # If you want the message to be processed by another milter after + # this one, or delivered to a mailbox the usual way, then change + # DROP to ACCEPT. return Milter.DROP self.log("Could not add the comment to PR to pagure") self.log(req.text)