/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: Jelmer Vernooij
  • Date: 2010-08-29 14:37:51 UTC
  • mto: This revision was merged to the branch mainline in revision 5418.
  • Revision ID: jelmer@samba.org-20100829143751-9ry91e6u887gswiz
Move some bzrdir-specific tests to bzrlib.tests.per_bzrdir.

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)