~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

Merge first-try into propagate-exceptions

Show diffs side-by-side

added added

removed removed

Lines of Context:
715
715
            if (e.args[0].startswith('Directory not empty: ')
716
716
                or getattr(e, 'errno', None) == errno.ENOTEMPTY):
717
717
                raise errors.DirectoryNotEmpty(path, str(e))
 
718
            if e.args == ('Operation unsupported',):
 
719
                raise errors.TransportNotPossible()
718
720
            mutter('Raising exception with args %s', e.args)
719
721
        if getattr(e, 'errno', None) is not None:
720
722
            mutter('Raising exception with errno %s', e.errno)