Mercurial > p > roundup > code
diff roundup/mailgw.py @ 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 | 7e4058dfb29b |
| children | 30a444b7b212 |
line wrap: on
line diff
--- 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
