aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Leherbauer2012-01-26 03:29:33 -0500
committerAnton Leherbauer2012-01-26 03:30:15 -0500
commit8b881c0a6c2337f3e76fd4975a14911cc5a383b5 (patch)
tree0176438a5aa1667ccc0f2b7af084502454aad488
parent6b8be7fdb7aa333d3426c4e0c9690b917fdbf1da (diff)
downloadorg.eclipse.tcf-0.6.0.tar.gz
org.eclipse.tcf-0.6.0.tar.xz
org.eclipse.tcf-0.6.0.zip
TCF Python: Fix assignment to reserved name 'len'0.6.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