Mercurial > p > roundup > code
changeset 1209:e47d9bb1455b
[SF#614188] Exception in mailgw.py
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 25 Sep 2002 05:13:34 +0000 |
| parents | 728a0809183e |
| children | 619ab5de5af0 |
| files | CHANGES.txt roundup/mailgw.py |
| diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/CHANGES.txt Wed Sep 25 05:06:14 2002 +0000 +++ b/CHANGES.txt Wed Sep 25 05:13:34 2002 +0000 @@ -29,6 +29,8 @@ - replaced the content() callback ickiness with Page Template macro usage - changed the default CSS style to be less offensive to some ;) - better handling of Page Template compilation errors +- handle multiple unrelated indexed classes +- #614188 ] Exception in mailgw.py 2002-09-13 0.5.0 beta2
--- a/roundup/mailgw.py Wed Sep 25 05:06:14 2002 +0000 +++ b/roundup/mailgw.py Wed Sep 25 05:13:34 2002 +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.89 2002-09-25 02:10:24 richard Exp $ +$Id: mailgw.py,v 1.90 2002-09-25 05:13:34 richard Exp $ ''' import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri @@ -900,7 +900,7 @@ # see if there's a response somewhere inside this section (ie. # no blank line between quoted message and response) for line in lines[1:]: - if line[0] not in '>|': + if line and line[0] not in '>|': break else: # we keep quoted bits if specified in the config
