~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: Martin Pool
  • Date: 2006-03-10 06:29:53 UTC
  • mfrom: (1608 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1611.
  • Revision ID: mbp@sourcefrog.net-20060310062953-bc1c7ade75c89a7a
[merge] bzr.dev; pycurl not updated for readv yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
501
501
        try:
502
502
            path = self._remote_path(relpath)
503
503
            fout = self._sftp.file(path, 'ab')
 
504
            result = fout.tell()
504
505
            self._pump(f, fout)
 
506
            return result
505
507
        except (IOError, paramiko.SSHException), e:
506
508
            self._translate_io_exception(e, relpath, ': unable to append')
507
509