Fix exception error message
This commit is contained in:
1 parent
b988b3d723
commit
7feec5f821
1 file changed
+2
-1
+2
-1
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user