Add rpc CONTEXT in action execute for issue369

This commit is contained in:
Cédric Krier committed 2008-09-17 10:42:47 +02:00
1 parent 0bf2548024
commit 622b602f80
1 file changed
+1 -1
+1 -1
View File
@@ -58,7 +58,7 @@ class Action(object):
def execute(act_id, datas, window, action_type=None, context=None):
if context is None:
context = {}
ctx = {}
ctx = rpc.CONTEXT.copy()
ctx.update(context)
if not action_type:
res = False