[Mailman-Developers] Mailman 2.0.12 error
Barry A. Warsaw
barry@python.org
Tue, 23 Jul 2002 13:19:46 -0400
>>>>> "KW" == Kory Wheatley <wheakory@isu.edu> writes:
KW> This is very critical I get this fixed, I'm running 150
KW> production mailing lists, here's my problem.
Apply the following patch.
Mailman 2.0.12 had compatibility issues with Python 1.5.2. Later
today I will post a candidate patch for 2.0.13 to fix this and one or
two other small issues.
-Barry
-------------------- snip snip --------------------
Index: MailCommandHandler.py
===================================================================
RCS file: /cvsroot/mailman/mailman/Mailman/Attic/MailCommandHandler.py,v
retrieving revision 1.70.2.1
retrieving revision 1.70.2.2
diff -u -r1.70.2.1 -r1.70.2.2
--- MailCommandHandler.py 2 Jul 2002 16:33:23 -0000 1.70.2.1
+++ MailCommandHandler.py 11 Jul 2002 21:19:34 -0000 1.70.2.2
@@ -120,8 +120,8 @@
# of these clues, so there's little we can do to break loops in that
# case, except throttle the number of responses sent to any one
# requester in a day. That's a job for MM2.1.
- precedence = msg.get('precedence', '').lower()
- ack = msg.get('x-ack', '').lower()
+ precedence = string.lower(msg.get('precedence', ''))
+ ack = string.lower(msg.get('x-ack', ''))
beenthere = msg.get('x-beenthere', '')
listid = msg.get('list-id', '')
if (precedence in ('bulk', 'list', 'junk') or