From 3bb9335d3a20f626aebfda69a29d2e007371fc28 Mon Sep 17 00:00:00 2001 From: richard Date: Fri, 19 Dec 2003 01:50:19 +0000 Subject: [PATCH] fixed mailgw handling of subject-line errors git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@2028 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 5 +++++ roundup/mailgw.py | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 00be53c..4bca3e6 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -23,6 +23,7 @@ Feature: - 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 @@ Cleanup: - 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: diff --git a/roundup/mailgw.py b/roundup/mailgw.py index 468333e..af2cde4 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.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 @@ Unknown address: %s 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 -- 2.30.2