Fix guidelines

This commit is contained in:
Cédric Krier committed 2008-05-07 11:29:16 +02:00
1 parent 11476609ac
commit 4e1d74e962
1 file changed
+4 -4
+4 -4
View File
@@ -120,10 +120,10 @@ class Action(object):
if not action.get('domain', False):
action['domain'] = '[]'
ctx = {
'active_id': datas.get('id',False),
'active_ids': datas.get('ids',[]),
'user': rpc._USER,
}
'active_id': datas.get('id',False),
'active_ids': datas.get('ids',[]),
'user': rpc._USER,
}
eval_ctx = ctx.copy()
eval_ctx['datetime'] = datetime
ctx.update(eval(action.get('context','{}'), eval_ctx))