682
682
def redirected(transport, e, redirection_notice):
683
683
self._opener_policy.checkOneURL(e.target)
685
686
if redirected_transport is None:
686
687
raise NotBranchError(e.source)
687
688
self._logger.info('%s is%s redirected to %s',
688
689
transport.base, e.permanently, redirected_transport.base)
689
690
return redirected_transport
690
692
def find_format(transport):
692
694
for prober_kls in self.probers: