diff options
| author | Numerigraphe - Lionel Sausin <ls@numerigraphe.fr> | 2010-07-22 15:28:35 +0200 |
|---|---|---|
| committer | Numerigraphe - Lionel Sausin <ls@numerigraphe.fr> | 2010-07-22 15:28:35 +0200 |
| commit | f9b199fa5fea39ae09cb52a593f4ddb4bb80d449 (patch) | |
| tree | f4bc3c21ff55725216da3955ddc28f0501a55f8e /bin/ir/ir.py | |
| parent | 9a5e22e38b429e30f83c9e07be19a358ed6164f2 (diff) | |
[FIX] mutable default in ir
lp bug: https://launchpad.net/bugs/525808 fixed
bzr revid: ls@numerigraphe.fr-20100722132835-ffr0k22jcl1rfoqd
Diffstat (limited to 'bin/ir/ir.py')
| -rw-r--r-- | bin/ir/ir.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
