Skip to content

Commit 8d8ee11

Browse files
author
Richard Jones
committed
fixed mailgw handling of subject-line errors
1 parent 44f772b commit 8d8ee11

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

CHANGES.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Feature:
2323
- use HTTP 'Content-Length' header (modified sf patch 844577)
2424
- HTML generated is now HTML4 (or optionally XHTML) compliant (sf feature
2525
814314 and sf patch 834620)
26+
- default stylesheet turns off sidebar when printing
2627

2728
Fixed:
2829
- mysql documentation fixed to note requirement of 4.0+ and InnoDB
@@ -59,6 +60,10 @@ Cleanup:
5960
- tidied up forms in default stylesheet
6061
- force textareas to use monospace fonts, lessening surprise on the user
6162

63+
2004-??-?? 0.6.5
64+
Fixed:
65+
- mailgw handling of subject-line errors
66+
6267

6368
2003-12-17 0.6.4
6469
Fixed:

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.139 2003-12-04 23:34:25 richard Exp $
76+
$Id: mailgw.py,v 1.140 2003-12-19 01:50:19 richard Exp $
7777
"""
7878

7979
import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
@@ -661,7 +661,7 @@ def handle_message(self, message):
661661
errors, props = setPropArrayFromString(self, cl, args, nodeid)
662662
# handle any errors parsing the argument list
663663
if errors:
664-
errors = '\n- '.join(errors)
664+
errors = '\n- '.join(map(str, errors))
665665
raise MailUsageError, '''
666666
There were problems handling your subject line argument list:
667667
- %s

0 commit comments

Comments
 (0)