Update of /cvsroot/mailman/mailman/Mailman/Handlers
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20541/Handlers

Modified Files:
      Tag: Release_2_1-maint
        Moderate.py 
Log Message:
sourceforge patch id=1107169, re-use member_moderation_notice ...
  Instead of re-use, a new variable 'nonmember_rejection_notice' was
introduced. For compatibility with my patch for subject numbering,
'data_version' was raised by 3. Sorry for the leap but I want MY user
to get smooth update. (TK)


Index: Moderate.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Handlers/Moderate.py,v
retrieving revision 2.13.2.1
retrieving revision 2.13.2.2
diff -u -d -r2.13.2.1 -r2.13.2.2
--- Moderate.py 22 Sep 2003 02:37:51 -0000      2.13.2.1
+++ Moderate.py 6 Feb 2005 01:29:32 -0000       2.13.2.2
@@ -135,7 +135,11 @@
 
 def do_reject(mlist):
     listowner = mlist.GetOwnerEmail()
-    raise Errors.RejectMessage, Utils.wrap(_("""\
+    if mlist.nonmember_rejection_notice:
+        raise Errors.RejectMessage, \
+              Utils.wrap(_(mlist.nonmember_rejection_notice))
+    else:
+        raise Errors.RejectMessage, Utils.wrap(_("""\
 You are not allowed to post to this mailing list, and your message has been
 automatically rejected.  If you think that your messages are being rejected in
 error, contact the mailing list owner at %(listowner)s."""))

_______________________________________________
Mailman-checkins mailing list
[email protected]
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to