summaryrefslogtreecommitdiff
path: root/src/mailman/rules/moderation.py
diff options
context:
space:
mode:
authorBarry Warsaw2016-04-01 16:40:39 -0400
committerBarry Warsaw2016-04-01 16:40:39 -0400
commitb87447ffe4a20793e22884a99a7f9afe3a803004 (patch)
tree332b20714199bc83a9b2d592682e287866ed9a1d /src/mailman/rules/moderation.py
parentf7e9e4698bdd4cee39c9eb485296cbbfa32369a9 (diff)
downloadmailman-b87447ffe4a20793e22884a99a7f9afe3a803004.tar.gz
mailman-b87447ffe4a20793e22884a99a7f9afe3a803004.tar.zst
mailman-b87447ffe4a20793e22884a99a7f9afe3a803004.zip
Diffstat (limited to 'src/mailman/rules/moderation.py')
-rw-r--r--src/mailman/rules/moderation.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/rules/moderation.py b/src/mailman/rules/moderation.py
index d3dc07a8f..806ceae39 100644
--- a/src/mailman/rules/moderation.py
+++ b/src/mailman/rules/moderation.py
@@ -109,7 +109,7 @@ class NonmemberModeration:
checklist = getattr(mlist, legacy_attribute_name)
for addr in checklist:
if ((addr.startswith('^') and re.match(addr, sender))
- or addr == sender): # flake8: noqa
+ or addr == sender): # noqa
# The reason will get translated at the point of use.
reason = 'The sender is in the nonmember {} list'
_record_action(msgdata, action, sender,