changeset 1960:ca2dca3db172

fixed mailgw handling of subject-line errors
author Richard Jones <richard@users.sourceforge.net>
date Fri, 19 Dec 2003 01:50:19 +0000
parents f4b7d4a3e057
children 43e1f2457bf2
files CHANGES.txt roundup/mailgw.py
diffstat 2 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES.txt	Wed Dec 17 00:41:19 2003 +0000
+++ b/CHANGES.txt	Fri Dec 19 01:50:19 2003 +0000
@@ -23,6 +23,7 @@
 - use HTTP 'Content-Length' header (modified sf patch 844577)
 - HTML generated is now HTML4 (or optionally XHTML) compliant (sf feature
   814314 and sf patch 834620)
+- default stylesheet turns off sidebar when printing
 
 Fixed:
 - mysql documentation fixed to note requirement of 4.0+ and InnoDB
@@ -59,6 +60,10 @@
 - tidied up forms in default stylesheet
 - force textareas to use monospace fonts, lessening surprise on the user
 
+2004-??-?? 0.6.5
+Fixed:
+- mailgw handling of subject-line errors
+
 
 2003-12-17 0.6.4
 Fixed:
--- a/roundup/mailgw.py	Wed Dec 17 00:41:19 2003 +0000
+++ b/roundup/mailgw.py	Fri Dec 19 01:50:19 2003 +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.139 2003-12-04 23:34:25 richard Exp $
+$Id: mailgw.py,v 1.140 2003-12-19 01:50:19 richard Exp $
 """
 
 import string, re, os, mimetools, cStringIO, smtplib, socket, binascii, quopri
@@ -661,7 +661,7 @@
             errors, props = setPropArrayFromString(self, cl, args, nodeid)
             # handle any errors parsing the argument list
             if errors:
-                errors = '\n- '.join(errors)
+                errors = '\n- '.join(map(str, errors))
                 raise MailUsageError, '''
 There were problems handling your subject line argument list:
 - %s

Roundup Issue Tracker: http://roundup-tracker.org/