~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: John Arbash Meinel
  • Date: 2010-08-02 17:16:12 UTC
  • mto: This revision was merged to the branch mainline in revision 5369.
  • Revision ID: john@arbash-meinel.com-20100802171612-rdh5ods70w2bl3j7
We also have to re-implement it for _simple_set_pyx.pyx

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)