[IMP] expression.py: added a clue to debug fuzzy tracebacks related to domain badly written
bzr revid: qdp-launchpad@openerp.com-20130306152328-qdlil19diks4mvkt
This commit is contained in:
parent
d383666364
commit
d97916a063
|
@ -199,7 +199,7 @@ def normalize_domain(domain):
|
|||
expected -= 1
|
||||
else:
|
||||
expected += op_arity.get(token, 0) - 1
|
||||
assert expected == 0
|
||||
assert expected == 0, 'This domain is syntactically not correct: %s' % (domain)
|
||||
return result
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue