Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraleherbau2011-05-05 08:10:33 +0000
committeraleherbau2011-05-05 08:10:33 +0000
commit3fe0ead0b4ba9bbe58a1d16305e46e808eab5d46 (patch)
tree41f17e4684938d2aa259223fe97c3ff9cf53d7b6 /python/src/tcf/services/remote/StackTraceProxy.py
parent837458856781c52e4b635897c787180c15b58ce6 (diff)
downloadorg.eclipse.tcf-3fe0ead0b4ba9bbe58a1d16305e46e808eab5d46.tar.gz
org.eclipse.tcf-3fe0ead0b4ba9bbe58a1d16305e46e808eab5d46.tar.xz
org.eclipse.tcf-3fe0ead0b4ba9bbe58a1d16305e46e808eab5d46.zip
TCF Python: Allow callables (functions) as service callbacks
Diffstat (limited to 'python/src/tcf/services/remote/StackTraceProxy.py')
-rw-r--r--python/src/tcf/services/remote/StackTraceProxy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/src/tcf/services/remote/StackTraceProxy.py b/python/src/tcf/services/remote/StackTraceProxy.py
index 350db8295..b551af36f 100644
--- a/python/src/tcf/services/remote/StackTraceProxy.py
+++ b/python/src/tcf/services/remote/StackTraceProxy.py
@@ -17,6 +17,7 @@ class StackTraceProxy(stacktrace.StackTraceService):
self.channel = channel
def getChildren(self, parent_context_id, done):
+ done = self._makeCallback(done)
service = self
class GetChildrenCommand(Command):
def __init__(self):
@@ -31,6 +32,7 @@ class StackTraceProxy(stacktrace.StackTraceService):
return GetChildrenCommand().token
def getContext(self, ids, done):
+ done = self._makeCallback(done)
service = self
class GetContextCommand(Command):
def __init__(self):

Back to the top