Init context to rpc context

This commit is contained in:
Cédric Krier
2008-03-22 21:24:45 +01:00
parent efc70e0071
commit 6a87f6512a
+1 -1
View File
@@ -84,7 +84,7 @@ class Action(object):
@staticmethod
def _exec_action(action, datas=None, context=None):
if context is None:
context = {}
context = rpc.CONTEXT.copy()
if datas is None:
datas = {}
if 'type' not in action: