Init context to rpc context

This commit is contained in:
Cédric Krier committed 2008-03-22 21:24:45 +01:00
1 parent efc70e0071
commit 6a87f6512a
1 file changed
+1 -1
+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: