Code

#614188 ] Exception in mailgw.py
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 25 Sep 2002 05:13:34 +0000 (05:13 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Wed, 25 Sep 2002 05:13:34 +0000 (05:13 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1231 57a73879-2fb5-44c3-a270-3262357dd7e2

CHANGES.txt
roundup/mailgw.py

index bc296387ef7b7330e207a019f36fed565335eec2..5667c374fb21ba431921fe26ac93f58e5674ec54 100644 (file)
@@ -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
 - 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
 
 
 2002-09-13 0.5.0 beta2
index 9f339e7a078bb96ad2ac0f5d114a3ec92a790f01..90e98afaef9c31db11370b63ccec2d2dcb4a5ad0 100644 (file)
@@ -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. 
 
 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
 '''
 
 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:]:
             # 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
                     break
             else:
                 # we keep quoted bits if specified in the config