~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/scripts/distributionmirror_prober.py

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-02-18 10:27:44 UTC
  • mfrom: (12400.1.3 silence-of-the-prober-ii)
  • Revision ID: launchpad@pqm.canonical.com-20110218102744-xaeg6lkv0tgznc8f
[r=stevenk, thumper][bug=370329, 502842,
        721028] Fix a few errors in the distribution mirror prober.

Show diffs side-by-side

added added

removed removed

Lines of Context:
565
565
        BadResponseCode,
566
566
        ConnectionSkipped,
567
567
        ProberTimeout,
 
568
        RedirectToDifferentFile,
568
569
        UnknownURLSchemeAfterRedirect,
569
570
        )
570
571
 
848
849
            # Some people registered mirrors on distros other than Ubuntu back
849
850
            # in the old times, so now we need to do this small hack here.
850
851
            if not mirror.distribution.full_functionality:
851
 
                self.logger.info(
 
852
                self.logger.debug(
852
853
                    "Mirror '%s' of distribution '%s' can't be probed --we "
853
854
                    "only probe Ubuntu mirrors."
854
855
                    % (mirror.name, mirror.distribution.name))