summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d31bf2e)
raw | patch | inline | side by side (parent: d31bf2e)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 8 Aug 2001 00:08:03 +0000 (00:08 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Wed, 8 Aug 2001 00:08:03 +0000 (00:08 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@224 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/mailgw.py | patch | blob | history |
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index a2c15e30658c7a203d9e7c5efdeaa32ea12bdb00..a2eca7840971d6d9af008f93151595e82f5989e8 100644 (file)
--- a/roundup/mailgw.py
+++ b/roundup/mailgw.py
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 $
'''
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()
#
# $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.