diff roundup/mailgw.py @ 2919:07166758e412 maint-0.7

make hyperdb value parsing errors readable in mailgw errors
author Richard Jones <richard@users.sourceforge.net>
date Wed, 17 Nov 2004 22:10:02 +0000
parents 8b6cd1c5d549
children 5fb65feb8944
line wrap: on
line diff
--- a/roundup/mailgw.py	Mon Nov 15 05:30:17 2004 +0000
+++ b/roundup/mailgw.py	Wed Nov 17 22:10:02 2004 +0000
@@ -72,7 +72,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.149.2.4 2004-10-11 05:20:37 richard Exp $
+$Id: mailgw.py,v 1.149.2.5 2004-11-17 22:10:02 richard Exp $
 """
 __docformat__ = 'restructuredtext'
 
@@ -973,7 +973,7 @@
             props[propname] = hyperdb.rawToHyperdb(self.db, cl, nodeid,
                 propname, value)
         except hyperdb.HyperdbValueError, message:
-            errors.append(message)
+            errors.append(str(message))
     return errors, props
 
 

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