Update of /cvsroot/mailman/mailman/Mailman/Handlers
In directory usw-pr-cvs1:/tmp/cvs-serv20973

Modified Files:
      Tag: Release_2_0_1-branch
        Hold.py 
Log Message:
process(): Check for administrivia as the first hold test.


Index: Hold.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Hold.py,v
retrieving revision 1.16
retrieving revision 1.16.2.1
diff -C2 -r1.16 -r1.16.2.1
*** Hold.py     2000/08/01 23:02:28     1.16
--- Hold.py     2001/05/31 21:05:27     1.16.2.1
***************
*** 119,122 ****
--- 119,127 ----
          sender = msg.GetSender(use_envelope=0)
      #
+     # possible administrivia?
+     if mlist.administrivia and Utils.IsAdministrivia(msg):
+         hold_for_approval(mlist, msg, msgdata, Administrivia)
+         # no return
+     #
      # is the poster in the list of explicitly forbidden posters?
      if len(mlist.forbidden_posters):
***************
*** 176,184 ****
          # then
          hold_for_approval(mlist, msg, msgdata, ImplicitDestination)
-         # no return
-     #
-     # possible administrivia?
-     if mlist.administrivia and Utils.IsAdministrivia(msg):
-         hold_for_approval(mlist, msg, msgdata, Administrivia)
          # no return
      #
--- 181,184 ----


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-checkins

Reply via email to