ir.translate: revert some pg84 argument from the cherry-picks

bzr revid: p_christ@hol.gr-20101123155820-ltqymky8482k8l9l
This commit is contained in:
P. Christeas 2010-11-23 17:58:20 +02:00
parent a2ee48478a
commit 7165010fd6
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ class ir_attachment(osv.osv):
if ids:
if isinstance(ids, (int, long)):
ids = [ids]
cr.execute('SELECT DISTINCT res_model, res_id FROM ir_attachment WHERE id = ANY (%s)', (ids,), self._debug)
cr.execute('SELECT DISTINCT res_model, res_id FROM ir_attachment WHERE id = ANY (%s)', (ids,))
for rmod, rid in cr.fetchall():
if not (rmod and rid):
continue