~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp.py

  • Committer: Robert Collins
  • Date: 2007-08-15 06:53:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2741.
  • Revision ID: robertc@robertcollins.net-20070815065307-8xwdhnm2qmpi5nk2
Review feedback and fix VFat emulated transports to not claim to have unix permissions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
325
325
            self._translate_perm_error(e, abspath,
326
326
                unknown_exc=errors.FileExists)
327
327
 
328
 
    def open_file_stream(self, relpath, mode=None):
329
 
        """See Transport.open_file_stream."""
 
328
    def open_write_stream(self, relpath, mode=None):
 
329
        """See Transport.open_write_stream."""
330
330
        self.put_bytes(relpath, "", mode)
331
331
        result = AppendBasedFileStream(self, relpath)
332
332
        _file_streams[self.abspath(relpath)] = result