[FIX] account: Remove the parentheses because the assertion was always true

bzr revid: stephane@openerp.com-20100809123330-4m0xyqdelwjc1wlp
This commit is contained in:
Stephane Wirtel 2010-08-09 14:33:30 +02:00
parent 73a8c4306e
commit 7ba4b880bc
1 changed files with 1 additions and 1 deletions

View File

@ -1236,7 +1236,7 @@ class account_move(osv.osv):
return amount
def _centralise(self, cr, uid, move, mode, context=None):
assert(mode in ('debit', 'credit'), 'Invalid Mode') #to prevent sql injection
assert mode in ('debit', 'credit'), 'Invalid Mode' #to prevent sql injection
if context is None:
context = {}