aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Handlers/Moderate.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Handlers/Moderate.py')
-rw-r--r--Mailman/Handlers/Moderate.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Mailman/Handlers/Moderate.py b/Mailman/Handlers/Moderate.py
index 84ff14e5..346437e8 100644
--- a/Mailman/Handlers/Moderate.py
+++ b/Mailman/Handlers/Moderate.py
@@ -133,10 +133,10 @@ def matches_p(sender, nonmembers):
return 1
elif are.startswith('@'):
# XXX Needs to be reviewed for list@domain names.
- try:
- mother = MailList(are[1:], lock=0)
- if mother.isMember(sender):
- return 1
+ try:
+ mother = MailList(are[1:], lock=0)
+ if mother.isMember(sender):
+ return 1
except Errors.MMUnknownListError:
syslog('error', 'filter references non-existent list %s',
are[1:])