Fix exception error message

This commit is contained in:
Cédric Krier committed 2008-07-10 15:05:19 +02:00
1 parent b988b3d723
commit 7feec5f821
1 file changed
+2 -1
+2 -1
View File
@@ -2149,7 +2149,8 @@ class ORM(object):
'>=',
'<',
'>'):
raise ExceptORM("Argument '%s' not supported"% args[i][1],"")
raise ExceptORM('ValidateError', 'Argument "%s" not supported' \
% args[i][1])
table = self
if args[i][0] in self._inherit_fields: