From 0406282cf41a064400947ee27ea1e9506f5766fb Mon Sep 17 00:00:00 2001 From: tkikuchi <> Date: Wed, 23 Feb 2005 00:02:21 +0000 Subject: The first header_filter_rules can be empty. Thanks Bryan Fullerton. --- Mailman/Gui/Privacy.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Mailman/Gui') 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 -- cgit v1.2.3