356
353
# turn the list of offsets into a single stack to iterate
357
354
offset_stack = iter(offsets)
358
355
# using a list so it can be modified when passing down and coming back
360
357
for cur_request in requests:
362
359
result = self._client.call_with_body_readv_array(
363
360
('readv', self._remote_path(relpath),),
364
361
[(c.start, c.length) for c in cur_request])
365
362
resp, response_handler = result
367
364
self._translate_error(err, relpath)