Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraleherbau2011-04-29 08:18:27 +0000
committeraleherbau2011-04-29 08:18:27 +0000
commit3b038ca9662788166c665ea0a86dc0777da12a8a (patch)
tree1f75844dcb59043a64ae8e3df456a9aa0737757e /python/src/tcf/util/sync.py
parent12885af92f9030c3d899eba873e118c3ff4805a9 (diff)
downloadorg.eclipse.tcf-3b038ca9662788166c665ea0a86dc0777da12a8a.tar.gz
org.eclipse.tcf-3b038ca9662788166c665ea0a86dc0777da12a8a.tar.xz
org.eclipse.tcf-3b038ca9662788166c665ea0a86dc0777da12a8a.zip
TCF Python: Added FileSystem service proxy
Diffstat (limited to 'python/src/tcf/util/sync.py')
-rw-r--r--python/src/tcf/util/sync.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/src/tcf/util/sync.py b/python/src/tcf/util/sync.py
index 3d8184602..959d0f999 100644
--- a/python/src/tcf/util/sync.py
+++ b/python/src/tcf/util/sync.py
@@ -88,7 +88,10 @@ class CommandControl(object):
resultArgs = (args[0],)
elif service == "Expressions" and command == "evaluate":
error = self.toError(args[1])
- resultArgs = (args[0],args[2])
+ resultArgs = (args[0], args[2])
+ elif service == "FileSystem" and command in ('read', 'readdir', 'roots'):
+ error = self.toError(args[1])
+ resultArgs = (args[0],) + tuple(args[2:])
elif service == "Diagnostics" and command.startswith("echo"):
resultArgs = (args[0],)
else:

Back to the top