328
328
def open_write_stream(self, relpath, mode=None):
329
329
"""See Transport.open_write_stream."""
332
330
abspath = self._abspath(relpath)
333
331
handle = osutils.open_file(abspath, 'wb')
335
334
self._check_mode_and_size(abspath, handle.fileno(), mode)
336
335
transport._file_streams[self.abspath(relpath)] = handle