On Tue, Apr 09, 2002 at 05:03:48PM -0400, Barry A. Warsaw wrote:
>     >> See attached patch.
>  
>     MM> Applied, thanks.
> 
> Can you keep an eye on the log files for a few days?  I'm going to
> apply the same patch on python.org and watch it there too.  If all
> looks good for a few days I'll release an update.

Will do. So we are now running
X-Mailman-Version: 2.0.9-sf.net

Since I'm working on sf.net mailman anyway, I also wipped up the following
(very very dirty) quick patch:

diff -urN mailman-2.0.9.sf/Mailman/Handlers/Decorate.py 
mailman-2.0.9.sf.new/Mailman/Handlers/Decorate.py
--- mailman-2.0.9.sf/Mailman/Handlers/Decorate.py       Wed Aug 29 11:38:17 2001
+++ mailman-2.0.9.sf.new/Mailman/Handlers/Decorate.py   Tue Apr  9 14:01:42 2002
@@ -38,12 +38,12 @@
     try:
         header = string.replace(mlist.msg_header % d, '\r\n', '\n')
     except (ValueError, TypeError), e:
-        syslog('error', 'Exception while calculating message header:\n%s' % e)
+       syslog('error', 'Exception while calculating message header in list 
+'+mlist.internal_name()+':\n%s' % e)
         header = '[INVALID HEADER]'
     try:
         footer = string.replace(mlist.msg_footer % d, '\r\n', '\n')
     except (ValueError, TypeError), e:
-        syslog('error', 'Exception while calculating message footer:\n%s' % e)
+       syslog('error', 'Exception while calculating message footer in list 
+'+mlist.internal_name()+':\n%s' % e)
         footer = '[INVALID FOOTER]'
     msg.body = header + msg.body + footer
     # Mark the message as dirty so that its text will be forced to disk next
diff -urN mailman-2.0.9.sf/Mailman/Handlers/ToUsenet.py 
mailman-2.0.9.sf.new/Mailman/Handlers/ToUsenet.py
--- mailman-2.0.9.sf/Mailman/Handlers/ToUsenet.py       Mon Nov  5 20:31:47 2001
+++ mailman-2.0.9.sf.new/Mailman/Handlers/ToUsenet.py   Tue Apr  9 13:57:12 2002
@@ -44,8 +44,7 @@
     if not mlist.nntp_host:
         error.append('no NNTP host')
     if error:
-        syslog('error', 'NNTP gateway improperly configured: ' +
-               string.join(error, ', '))
+       syslog('error', 'NNTP gateway in list '+mlist.internal_name()+' improperly 
+configured: ' + string.join(error, ', '))
         return
     # Fork in case the nntp connection hangs.
     pid = os.fork()
-- 
Microsoft is to operating systems & security ....
                                      .... what McDonalds is to gourmet cooking
  
Home page: http://marc.merlins.org/   |   Finger [EMAIL PROTECTED] for PGP key


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

Reply via email to