Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2016-05-11 08:29:35 +0000
committerAnton Leherbauer2016-05-11 14:52:21 +0000
commitc07197c5620b1063c825422cdb317d936939cc60 (patch)
tree427bcdf7108c9eb9bca8ffc32251dbdab75791a2
parentd8bb41c1b80eb4373661f6bbc58917133e8b5ba1 (diff)
downloadorg.eclipse.tcf-c07197c5620b1063c825422cdb317d936939cc60.tar.gz
org.eclipse.tcf-c07197c5620b1063c825422cdb317d936939cc60.tar.xz
org.eclipse.tcf-c07197c5620b1063c825422cdb317d936939cc60.zip
TCF Python: Fix LocatorService CommandServer implementation
-rw-r--r--python/src/tcf/services/local/LocatorService.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/src/tcf/services/local/LocatorService.py b/python/src/tcf/services/local/LocatorService.py
index 27f70733c..44480b634 100644
--- a/python/src/tcf/services/local/LocatorService.py
+++ b/python/src/tcf/services/local/LocatorService.py
@@ -1,5 +1,5 @@
# *****************************************************************************
-# * Copyright (c) 2011, 2015 Wind River Systems, Inc. and others.
+# * Copyright (c) 2011, 2016 Wind River Systems, Inc. and others.
# * All rights reserved. This program and the accompanying materials
# * are made available under the terms of the Eclipse Public License v1.0
# * which accompanies this distribution, and is available at
@@ -333,7 +333,7 @@ class LocatorService(locator.LocatorService):
err[errors.ERROR_FORMAT] = msg
return err
- def __command(self, channel, token, name, data):
+ def _command(self, channel, token, name, data):
try:
if name == "redirect":
peer_id = fromJSONSequence(data)[0]
@@ -999,7 +999,7 @@ class LocatorServiceProvider(services.ServiceProvider):
def getLocalService(self, _channel):
class CommandServer(channel.CommandServer):
def command(self, token, name, data):
- LocatorService.locator.command(channel, token, name, data)
+ LocatorService.locator._command(_channel, token, name, data)
_channel.addCommandServer(LocatorService.locator, CommandServer())
return (LocatorService.locator,)

Back to the top