'This routine looks through all distributions and tries to find
any applicable repositories in those distributions for post-install
usage.'

def repo_finder(self, distros_added):

    for repo_breed in self.get_valid_repo_breeds():
        self.logger.info(('checking    for    %s    repo(s)' % repo_breed))
        repo_adder = None
        if (repo_breed == 'yum'):
            repo_adder = self.yum_repo_adder
        elif (repo_breed == 'rhn'):
            repo_adder = self.rhn_repo_adder
        elif (repo_breed == 'rsync'):
            repo_adder = self.rsync_repo_adder
        elif (repo_breed == 'apt'):
            repo_adder = self.apt_repo_adder
        else:
            self.logger.warning(('skipping    unknown/unsupported    repo    breed:    %s' % repo_breed))
            continue
        for distro in distros_added:
            if (distro.kernel.find('distro_mirror') != (-1)):
                repo_adder(distro)
                self.distros.add(distro, save=True, with_triggers=False)
            else:
                self.logger.info(("skipping    distro    %s    since    it    isn't    mirrored    locally" % distro.name))
