diff options
author | tkikuchi <> | 2005-02-23 00:02:21 +0000 |
---|---|---|
committer | tkikuchi <> | 2005-02-23 00:02:21 +0000 |
commit | 0406282cf41a064400947ee27ea1e9506f5766fb (patch) | |
tree | 92b6dde524bd36158e0d13645b648b6410e4a2ff /Mailman/Gui | |
parent | 4fba20e7c159090641fb3aea3efc903474b806ca (diff) | |
download | mailman2-0406282cf41a064400947ee27ea1e9506f5766fb.tar.gz mailman2-0406282cf41a064400947ee27ea1e9506f5766fb.tar.xz mailman2-0406282cf41a064400947ee27ea1e9506f5766fb.zip |
The first header_filter_rules can be empty. Thanks Bryan Fullerton.
Diffstat (limited to 'Mailman/Gui')
-rw-r--r-- | Mailman/Gui/Privacy.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Mailman/Gui/Privacy.py b/Mailman/Gui/Privacy.py index cb10c0c3..2141521e 100644 --- a/Mailman/Gui/Privacy.py +++ b/Mailman/Gui/Privacy.py @@ -475,6 +475,9 @@ class Privacy(GUIBase): break if cgidata.has_key(newtag) and not pattern: # This new entry is incomplete. + if i == 2: + # OK it is the first. + continue doc.addError(_("""Header filter rules require a pattern. Incomplete filter rules will be ignored.""")) continue |