Skip to content

Commit 22f9914

Browse files
author
Richard Jones
committed
[SF#614188] Exception in mailgw.py
1 parent 0c7e2de commit 22f9914

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGES.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ are given with the most recent entry first.
2929
- replaced the content() callback ickiness with Page Template macro usage
3030
- changed the default CSS style to be less offensive to some ;)
3131
- better handling of Page Template compilation errors
32+
- handle multiple unrelated indexed classes
33+
- #614188 ] Exception in mailgw.py
3234

3335

3436
2002-09-13 0.5.0 beta2

roundup/mailgw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class node. Any parts of other types are each stored in separate files
7373
an exception, the original message is bounced back to the sender with the
7474
explanatory message given in the exception.
7575
76-
$Id: mailgw.py,v 1.89 2002-09-25 02:10:24 richard Exp $
76+
$Id: mailgw.py,v 1.90 2002-09-25 05:13:34 richard Exp $
7777
'''
7878

7979
import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
@@ -900,7 +900,7 @@ def parseContent(content, keep_citations, keep_body,
900900
# see if there's a response somewhere inside this section (ie.
901901
# no blank line between quoted message and response)
902902
for line in lines[1:]:
903-
if line[0] not in '>|':
903+
if line and line[0] not in '>|':
904904
break
905905
else:
906906
# we keep quoted bits if specified in the config

0 commit comments

Comments
 (0)