summaryrefslogtreecommitdiff
path: root/modules/maillist.py
diff options
context:
space:
mode:
authormailman1998-03-31 04:51:26 +0000
committermailman1998-03-31 04:51:26 +0000
commitd9b3efcbb113d2f6e3d486aeb24694b2829151eb (patch)
tree06b6f7ef2a0a2c129ce12a3709e5cdf2f83bfeaa /modules/maillist.py
parent1b168cd01757f1cc5e61fec216e82f29607667f5 (diff)
downloadmailman-d9b3efcbb113d2f6e3d486aeb24694b2829151eb.tar.gz
mailman-d9b3efcbb113d2f6e3d486aeb24694b2829151eb.tar.zst
mailman-d9b3efcbb113d2f6e3d486aeb24694b2829151eb.zip
Diffstat (limited to 'modules/maillist.py')
-rw-r--r--modules/maillist.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/maillist.py b/modules/maillist.py
index bdaa1c6ce..4cd51bdee 100644
--- a/modules/maillist.py
+++ b/modules/maillist.py
@@ -483,7 +483,8 @@ class MailList(MailCommandHandler, HTMLFormatter, Deliverer, ListAdmin,
# ... and only then try the regexp acceptable aliases.
for recip in recips:
for alias in string.split(self.acceptable_aliases, '\n'):
- if re.match(string.strip(alias), recip):
+ stripped = string.strip(alias)
+ if stripped and re.match(stripped, recip):
return 1
return 0