Skip to main content
aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorAnton Leherbauer2012-01-26 03:29:33 -0500
committerAnton Leherbauer2012-01-26 03:30:53 -0500
commit0c07df5f2a70a3af20dd8b1bd8f6a628b5085fbc (patch)
tree957d6774bd47a7a2c3d1a283ecb66db57226270a /python
parentba2dc20effbef475a3a67adaccc22afea61478eb (diff)
downloadorg.eclipse.tcf-0c07df5f2a70a3af20dd8b1bd8f6a628b5085fbc.tar.gz
org.eclipse.tcf-0c07df5f2a70a3af20dd8b1bd8f6a628b5085fbc.tar.xz
org.eclipse.tcf-0c07df5f2a70a3af20dd8b1bd8f6a628b5085fbc.zip
TCF Python: Fix assignment to reserved name 'len'
Diffstat (limited to 'python')
-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