~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp/__init__.py

  • Committer: John Arbash Meinel
  • Date: 2011-05-11 11:35:28 UTC
  • mto: This revision was merged to the branch mainline in revision 5851.
  • Revision ID: john@arbash-meinel.com-20110511113528-qepibuwxicjrbb2h
Break compatibility with python <2.6.

This includes auditing the code for places where we were doing
explicit 'sys.version' checks and removing them as appropriate.

Show diffs side-by-side

added added

removed removed

Lines of Context:
203
203
            # Microsoft FTP-Service RNFR reply if file not found
204
204
            or (s.startswith('550 ') and 'unable to rename to' in extra)
205
205
            # if containing directory doesn't exist, suggested by
206
 
            # <https://bugs.edge.launchpad.net/bzr/+bug/224373>
 
206
            # <https://bugs.launchpad.net/bzr/+bug/224373>
207
207
            or (s.startswith('550 ') and "can't find folder" in s)
208
208
            ):
209
209
            raise errors.NoSuchFile(path, extra=extra)