330
330
def open_write_stream(self, relpath, mode=None):
331
331
"""See Transport.open_write_stream."""
332
334
abspath = self._abspath(relpath)
339
337
self._check_mode_and_size(abspath, handle.fileno(), mode)
340
338
transport._file_streams[self.abspath(relpath)] = handle