Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2012-01-26 03:29:33 -0500
committerAnton Leherbauer2012-01-26 03:29:33 -0500
commit19d591762941e5da55499dc73461e9e398683813 (patch)
tree3c37812ec528fcd8837f04fb1932a5588d4e320f
parent4bd2256c410cd4fbde0442587df9bc2ec3f67f7b (diff)
downloadorg.eclipse.tcf-0.5.0.tar.gz
org.eclipse.tcf-0.5.0.tar.xz
org.eclipse.tcf-0.5.0.zip
TCF Python: Fix assignment to reserved name 'len'0.5.0
-rw-r--r--python/src/tcf/services/remote/FileSystemProxy.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/python/src/tcf/services/remote/FileSystemProxy.py b/python/src/tcf/services/remote/FileSystemProxy.py
index 203edd176..419478363 100644
--- a/python/src/tcf/services/remote/FileSystemProxy.py
+++ b/python/src/tcf/services/remote/FileSystemProxy.py
@@ -228,14 +228,15 @@ class FileSystemProxy(filesystem.FileSystemService):
done.doneOpen(self.token, s, h)
return OpenDirCommand().token
- def read(self, handle, offset, len, done):
+ def read(self, handle, offset, length, done):
assert handle.getService() is self
done = self._makeCallback(done)
- id = handle.id
+ handleID = handle.id
service = self
class ReadCommand(FileSystemCommand):
def __init__(self):
- super(ReadCommand, self).__init__(service, "read", (id, offset, len))
+ super(ReadCommand, self).__init__(service, "read",
+ (handleID, offset, length))
def done(self, error, args):
s = None
b = None

Back to the top