Skip to content

Commit fded2b0

Browse files
author
Richard Jones
committed
make hyperdb value parsing errors readable in mailgw errors
1 parent 2ae8270 commit fded2b0

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGES.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Fixed:
2121
- ensure multilink ordering in RDBMS backends (thanks Marcus Priesch, sf
2222
bug 950963)
2323
- always honor indexme property on Strings (sf patch 1063711)
24+
- make hyperdb value parsing errors readable in mailgw errors
2425

2526

2627
2004-10-15 0.7.8

doc/upgrading.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Note that ``tal:`` statements are unaffected. So are TAL expression type
128128
prefixes such as ``python:`` and ``string:``. Please ask on the
129129
roundup-users mailing list for help if you're unsure.
130130

131+
131132
0.7.0 Edit collision detection
132133
------------------------------
133134

roundup/mailgw.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ class node. Any parts of other types are each stored in separate files
7272
an exception, the original message is bounced back to the sender with the
7373
explanatory message given in the exception.
7474
75-
$Id: mailgw.py,v 1.149.2.4 2004-10-11 05:20:37 richard Exp $
75+
$Id: mailgw.py,v 1.149.2.5 2004-11-17 22:10:02 richard Exp $
7676
"""
7777
__docformat__ = 'restructuredtext'
7878

@@ -973,7 +973,7 @@ def setPropArrayFromString(self, cl, propString, nodeid=None):
973973
props[propname] = hyperdb.rawToHyperdb(self.db, cl, nodeid,
974974
propname, value)
975975
except hyperdb.HyperdbValueError, message:
976-
errors.append(message)
976+
errors.append(str(message))
977977
return errors, props
978978

979979

0 commit comments

Comments
 (0)