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