Update of /cvsroot/mailman/mailman/Mailman/Gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2270
Modified Files:
Tag: Release_2_1-maint
Privacy.py
Log Message:
The first header_filter_rules can be empty. Thanks Bryan Fullerton.
Index: Privacy.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Gui/Privacy.py,v
retrieving revision 2.15.2.6
retrieving revision 2.15.2.7
diff -u -d -r2.15.2.6 -r2.15.2.7
--- Privacy.py 6 Feb 2005 01:29:32 -0000 2.15.2.6
+++ Privacy.py 23 Feb 2005 00:02:21 -0000 2.15.2.7
@@ -475,6 +475,9 @@
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
_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe:
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org