From f9b199fa5fea39ae09cb52a593f4ddb4bb80d449 Mon Sep 17 00:00:00 2001 From: Numerigraphe - Lionel Sausin Date: Thu, 22 Jul 2010 15:28:35 +0200 Subject: [PATCH] [FIX] mutable default in ir lp bug: https://launchpad.net/bugs/525808 fixed bzr revid: ls@numerigraphe.fr-20100722132835-ffr0k22jcl1rfoqd --- bin/ir/ir.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/ir/ir.py b/bin/ir/ir.py index 109faf95872..c4cc435765d 100644 --- a/bin/ir/ir.py +++ b/bin/ir/ir.py @@ -31,7 +31,7 @@ def ir_del(cr, uid, id): obj = pooler.get_pool(cr.dbname).get('ir.values') return obj.unlink(cr, uid, [id]) -def ir_get(cr, uid, key, key2, models, meta=False, context={}, res_id_req=False): +def ir_get(cr, uid, key, key2, models, meta=False, context=None, res_id_req=False): obj = pooler.get_pool(cr.dbname).get('ir.values') res = obj.get(cr, uid, key, key2, models, meta=meta, context=context, res_id_req=res_id_req) return res