~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/sftp.py

  • Committer: Matt Nordhoff
  • Date: 2009-06-23 05:12:07 UTC
  • mto: This revision was merged to the branch mainline in revision 4474.
  • Revision ID: mnordhoff@mattnordhoff.com-20090623051207-fksdtbzkwtnrw9dd
Update _add_text docstrings that still referred to add_text.

Show diffs side-by-side

added added

removed removed

Lines of Context:
711
711
            # strange but true, for the paramiko server.
712
712
            if (e.args == ('Failure',)):
713
713
                raise failure_exc(path, str(e) + more_info)
714
 
            # Can be something like args = ('Directory not empty:
715
 
            # '/srv/bazaar.launchpad.net/blah...: '
716
 
            # [Errno 39] Directory not empty',)
717
 
            if (e.args[0].startswith('Directory not empty: ')
718
 
                or getattr(e, 'errno', None) == errno.ENOTEMPTY):
719
 
                raise errors.DirectoryNotEmpty(path, str(e))
720
714
            mutter('Raising exception with args %s', e.args)
721
715
        if getattr(e, 'errno', None) is not None:
722
716
            mutter('Raising exception with errno %s', e.errno)