~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

MergeĀ fromĀ mainline

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