aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Gui/GUIBase.py
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2015-02-03 20:48:25 -0800
committerMark Sapiro <mark@msapiro.net>2015-02-03 20:48:25 -0800
commit680e70a272dbbf7b04b9a68a312a855af195321e (patch)
tree32380379e2debee417ae2c4a2388fb7c8c3bf2c5 /Mailman/Gui/GUIBase.py
parent74df7c8b253ab58257e768eccfdc2dd63d9f5f05 (diff)
downloadmailman2-680e70a272dbbf7b04b9a68a312a855af195321e.tar.gz
mailman2-680e70a272dbbf7b04b9a68a312a855af195321e.tar.xz
mailman2-680e70a272dbbf7b04b9a68a312a855af195321e.zip
Enhanced subscribe_auto_approval to accept @listname entries.
Diffstat (limited to '')
-rw-r--r--Mailman/Gui/GUIBase.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Gui/GUIBase.py b/Mailman/Gui/GUIBase.py
index 9a8b68fb..32d19929 100644
--- a/Mailman/Gui/GUIBase.py
+++ b/Mailman/Gui/GUIBase.py
@@ -1,4 +1,4 @@
-# Copyright (C) 2002-2008 by the Free Software Foundation, Inc.
+# Copyright (C) 2002-2015 by the Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
@@ -80,7 +80,8 @@ class GUIBase:
except re.error:
bad_addrs.append(addr)
elif (wtype == mm_cfg.EmailListEx and addr.startswith('@')
- and property.endswith('_these_nonmembers')):
+ and (property.endswith('_these_nonmembers') or
+ property == 'subscribe_auto_approval')):
# XXX Needs to be reviewed for list@domain names.
# don't reference your own list
if addr[1:] == mlist.internal_name():