From 69d67570ef4f38c30e6901392c91bc812ff715d6 Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 8 Aug 2001 00:08:03 +0000 Subject: [PATCH] oops ;) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@224 57a73879-2fb5-44c3-a270-3262357dd7e2 --- roundup/mailgw.py | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/roundup/mailgw.py b/roundup/mailgw.py index a2c15e3..a2eca78 100644 --- a/roundup/mailgw.py +++ b/roundup/mailgw.py @@ -72,7 +72,7 @@ are calling the create() method to create a new node). If an auditor raises an exception, the original message is bounced back to the sender with the explanatory message given in the exception. -$Id: mailgw.py,v 1.10 2001-08-07 00:24:42 richard Exp $ +$Id: mailgw.py,v 1.11 2001-08-08 00:08:03 richard Exp $ ''' @@ -154,9 +154,10 @@ class MailGW: Parse the message as per the module docstring. ''' # handle the subject line - m = subject_re.match(message.getheader('subject')) + subject = message.getheader('subject') + m = subject_re.match(subject) if not m: - raise ValueError, 'No [designator] found in subject "%s"' + raise ValueError, 'No [designator] found in subject "%s"'%subject classname = m.group('classname') nodeid = m.group('nodeid') title = m.group('title').strip() @@ -334,6 +335,9 @@ def parseContent(content, blank_line=re.compile(r'[\r\n]+\s*[\r\n]+'), # # $Log: not supported by cvs2svn $ +# Revision 1.10 2001/08/07 00:24:42 richard +# stupid typo +# # Revision 1.9 2001/08/07 00:15:51 richard # Added the copyright/license notice to (nearly) all files at request of # Bizar Software. -- 2.30.2