Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorAnton Leherbauer2011-10-20 06:45:41 +0000
committerAnton Leherbauer2011-10-20 06:45:41 +0000
commite0c765ac385bd8befb401971d27a1b21d7e64186 (patch)
treeef3c8353c19d756397327b2c1030e97412fec93b /python
parentcf5c67a13a2370596c27931125ffbdb08427acb4 (diff)
downloadorg.eclipse.tcf-e0c765ac385bd8befb401971d27a1b21d7e64186.tar.gz
org.eclipse.tcf-e0c765ac385bd8befb401971d27a1b21d7e64186.tar.xz
org.eclipse.tcf-e0c765ac385bd8befb401971d27a1b21d7e64186.zip
TCF Python: Fixed missing argument to RunContext constructor
Diffstat (limited to 'python')
-rw-r--r--python/src/tcf/services/remote/RunControlProxy.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/python/src/tcf/services/remote/RunControlProxy.py b/python/src/tcf/services/remote/RunControlProxy.py
index f3aa8ac5e..8c2832cf4 100644
--- a/python/src/tcf/services/remote/RunControlProxy.py
+++ b/python/src/tcf/services/remote/RunControlProxy.py
@@ -84,10 +84,10 @@ class ChannelEventListener(channel.EventListener):
self.listener.contextResumed(args[0])
elif name == "contextAdded":
assert len(args) == 1
- self.listener.contextAdded(_toContextArray(args[0]))
+ self.listener.contextAdded(_toContextArray(self.service,args[0]))
elif name == "contextChanged":
assert len(args) == 1
- self.listener.contextChanged(_toContextArray(args[0]))
+ self.listener.contextChanged(_toContextArray(self.service,args[0]))
elif name == "contextRemoved":
assert len(args) == 1
self.listener.contextRemoved(args[0])
@@ -151,8 +151,8 @@ class RunControlProxy(runcontrol.RunControlService):
done.doneGetChildren(self.token, error, contexts)
return GetChildrenCommand().token
-def _toContextArray(o):
+def _toContextArray(svc,o):
if o is None: return None
ctx = []
- for m in o: ctx.append(RunContext(m))
+ for m in o: ctx.append(RunContext(svc,m))
return ctx

Back to the top