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

Modified Files:
        Hold.py 
Log Message:
process(): Check for administrivia as the first hold test.  This
change is a candidate for 2.0.6.


Index: Hold.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Hold.py,v
retrieving revision 2.7
retrieving revision 2.8
diff -C2 -r2.7 -r2.8
*** Hold.py     2001/05/31 17:30:41     2.7
--- Hold.py     2001/05/31 21:04:46     2.8
***************
*** 124,127 ****
--- 124,132 ----
          sender = msg.get_sender(use_envelope=0)
      #
+     # Possible administrivia?
+     if mlist.administrivia and Utils.is_administrivia(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):
***************
*** 181,189 ****
          # then
          hold_for_approval(mlist, msg, msgdata, ImplicitDestination)
-         # no return
-     #
-     # Possible administrivia?
-     if mlist.administrivia and Utils.is_administrivia(msg):
-         hold_for_approval(mlist, msg, msgdata, Administrivia)
          # no return
      #
--- 186,189 ----


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

Reply via email to