~camptocamp/openobject-server/7.0-c2c-official

« back to all changes in this revision

Viewing changes to openerp/osv/expression.py

  • Committer: Yannick Vaucher
  • Date: 2013-03-11 12:03:36 UTC
  • mfrom: (4773.1.116 openobject-server)
  • Revision ID: yannick.vaucher@camptocamp.com-20130311120336-hgyv89pww0kiwff2
[MRG] from official

Show diffs side-by-side

added added

removed removed

Lines of Context:
199
199
            expected -= 1
200
200
        else:
201
201
            expected += op_arity.get(token, 0) - 1
202
 
    assert expected == 0
 
202
    assert expected == 0, 'This domain is syntactically not correct: %s' % (domain)
203
203
    return result
204
204
 
205
205