From ac5f91aa489bb614476c2d49b336c342f641ddaf Mon Sep 17 00:00:00 2001 From: richard Date: Wed, 25 Sep 2002 05:13:34 +0000 Subject: [PATCH] #614188 ] Exception in mailgw.py git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1231 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 2 ++ roundup/mailgw.py | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index bc29638..5667c37 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -29,6 +29,8 @@ are given with the most recent entry first. - 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 diff --git a/roundup/mailgw.py b/roundup/mailgw.py index 9f339e7..90e98af 100644 --- a/roundup/mailgw.py +++ b/roundup/mailgw.py @@ -73,7 +73,7 @@ are calling the create() method to create a new node). If an auditor raises 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 @@ def parseContent(content, keep_citations, keep_body, # 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 -- 2.30.2