summaryrefslogtreecommitdiff
path: root/subversion/bindings/ctypes-python/csvn/types.py
diff options
context:
space:
mode:
Diffstat (limited to 'subversion/bindings/ctypes-python/csvn/types.py')
-rw-r--r--subversion/bindings/ctypes-python/csvn/types.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/subversion/bindings/ctypes-python/csvn/types.py b/subversion/bindings/ctypes-python/csvn/types.py
index 97253b1..8a2369e 100644
--- a/subversion/bindings/ctypes-python/csvn/types.py
+++ b/subversion/bindings/ctypes-python/csvn/types.py
@@ -237,7 +237,8 @@ class Stream(object):
self.pool = Pool()
self.buffer = buffer
self.stream = svn_stream_create(c_void_p(), self.pool)
- svn_stream_set_read(self.stream, svn_read_fn_t(self._read))
+ svn_stream_set_read2(self.stream, NULL, # only full read support
+ svn_read_fn_t(self._read))
svn_stream_set_write(self.stream, svn_write_fn_t(self._write))
if not disown:
svn_stream_set_close(self.stream, svn_close_fn_t(self._close))