/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/ftp/__init__.py

Merge bzr.dev, update to use new hooks.

Show diffs side-by-side

added added

removed removed

Lines of Context:
96
96
        super(FtpTransport, self).__init__(base,
97
97
                                           _from_transport=_from_transport)
98
98
        self._unqualified_scheme = 'ftp'
99
 
        if self._scheme == 'aftp':
 
99
        if self._parsed_url.scheme == 'aftp':
100
100
            self.is_active = True
101
101
        else:
102
102
            self.is_active = False
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)