changeset 1347:350ad3dd6e63

better match for mailgw help "command" text
author Richard Jones <richard@users.sourceforge.net>
date Mon, 06 Jan 2003 21:28:38 +0000
parents 85d1bb46a77c
children 81ab52195df0
files CHANGES.txt roundup/mailgw.py
diffstat 2 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Sun Jan 05 10:56:16 2003 +0000
+++ b/CHANGES.txt	Mon Jan 06 21:28:38 2003 +0000
@@ -11,6 +11,7 @@
 - applied patches for handling Outlook quirks (thanks Andrey Lebedev)
   (multipart/alternative, "fw" and content-type "name")
 - fire auditors and reactors in rdbms retire (thanks Sheila King)
+- better match for mailgw help "command" text
 
 
 2002-12-11 0.5.3
--- a/roundup/mailgw.py	Sun Jan 05 10:56:16 2003 +0000
+++ b/roundup/mailgw.py	Mon Jan 06 21:28:38 2003 +0000
@@ -73,7 +73,7 @@
 an exception, the original message is bounced back to the sender with the
 explanatory message given in the exception. 
 
-$Id: mailgw.py,v 1.103 2002-12-27 23:54:05 richard Exp $
+$Id: mailgw.py,v 1.104 2003-01-06 21:28:38 richard Exp $
 '''
 
 import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
@@ -390,7 +390,7 @@
         # handle the subject line
         subject = message.getheader('subject', '')
 
-        if subject.strip() == 'help':
+        if subject.strip().lower() == 'help':
             raise MailUsageHelp
 
         m = subject_re.match(subject)

Roundup Issue Tracker: http://roundup-tracker.org/