Mercurial > p > roundup > code
diff roundup/mailgw.py @ 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 | b862bbf2067a |
| children | 984c498e7deb |
line wrap: on
line diff
--- 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
