~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: John Arbash Meinel
  • Date: 2005-11-30 14:58:24 UTC
  • mto: (1185.50.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 1518.
  • Revision ID: john@arbash-meinel.com-20051130145824-502cd85fac264723
[patch] Robey Pointer - Need to adjust_cwd in _sftp_openexclusive

Show diffs side-by-side

added added

removed removed

Lines of Context:
756
756
 
757
757
        :param relpath: The relative path, where the file should be opened
758
758
        """
759
 
        path = self._abspath(relpath)
 
759
        path = self._sftp._adjust_cwd(self._abspath(relpath))
760
760
        attr = SFTPAttributes()
761
761
        mode = (SFTP_FLAG_WRITE | SFTP_FLAG_CREATE 
762
762
                | SFTP_FLAG_TRUNC | SFTP_FLAG_EXCL)