[IMP] Warn if an assertion has not been evaluated.
bzr revid: jth@openerp.com-20100401101013-gi2zpo47iu7pbpn4
This commit is contained in:
parent
f66af28b30
commit
3ebd4313d9
|
@ -202,6 +202,7 @@ class YamlInterpreter(object):
|
|||
assertion, expressions = node.items()[0]
|
||||
|
||||
if self.isnoupdate(assertion) and self.mode != 'init':
|
||||
self.logger.warn('This assertion was not evaluated ("%s").' % assertion.string)
|
||||
return
|
||||
model = self.get_model(assertion.model)
|
||||
ids = self._get_assertion_id(assertion)
|
||||
|
|
Loading…
Reference in New Issue