summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bee25d0)
raw | patch | inline | side by side (parent: bee25d0)
author | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 13 Aug 2001 23:02:54 +0000 (23:02 +0000) | ||
committer | richard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2> | |
Mon, 13 Aug 2001 23:02:54 +0000 (23:02 +0000) |
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@233 57a73879-2fb5-44c3-a270-3262357dd7e2
roundup/mailgw.py | patch | blob | history |
diff --git a/roundup/mailgw.py b/roundup/mailgw.py
index c8a31517dc74968663473ea42a7fc707a458d36d..f715ee82c477bcd81c1a3a97bb5379f186f1300b 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.13 2001-08-12 06:32:36 richard Exp $
+$Id: mailgw.py,v 1.14 2001-08-13 23:02:54 richard Exp $
'''
Parse the message as per the module docstring.
'''
# handle the subject line
- subject = message.getheader('subject')
+ subject = message.getheader('subject', '')
m = subject_re.match(subject)
if not m:
raise MailUsageError, '''
#
# $Log: not supported by cvs2svn $
+# Revision 1.13 2001/08/12 06:32:36 richard
+# using isinstance(blah, Foo) now instead of isFooType
+#
# Revision 1.12 2001/08/08 01:27:00 richard
# Added better error handling to mailgw.
#