Mercurial > p > roundup > code
diff roundup/mailgw.py @ 4373:18cc4323e2ad
Accept single-character subject lines
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 16 Apr 2010 06:52:18 +0000 |
| parents | 38265325492a |
| children | 378fc1ecaaa6 |
line wrap: on
line diff
--- a/roundup/mailgw.py Fri Apr 09 09:50:26 2010 +0000 +++ b/roundup/mailgw.py Fri Apr 16 06:52:18 2010 +0000 @@ -897,7 +897,7 @@ # if we've not found a valid classname prefix then force the # scanning to handle there being a leading delimiter - title_re = r'(?P<title>%s[^%s]+)'%( + title_re = r'(?P<title>%s[^%s]*)'%( not matches['classname'] and '.' or '', delim_open) m = re.match(title_re, tmpsubject.strip(), re.IGNORECASE) if m:
