(self)
The URL of the first mirror in :attr:`ranked_mirrors` (a string).

        This is a shortcut for using :attr:`ranked_mirrors` to select the
        best mirror from :attr:`available_mirrors`, falling back to the
        old releases URL when :attr:`release_is_eol` is :data:`True`.
The URL of the first mirror in :attr:`ranked_mirrors` (a string).
The URL of the first mirror in : attr : ranked_mirrors ( a string ) .
def best_mirror(self):
        """
        The URL of the first mirror in :attr:`ranked_mirrors` (a string).

        This is a shortcut for using :attr:`ranked_mirrors` to select the
        best mirror from :attr:`available_mirrors`, falling back to the
        old releases URL when :attr:`release_is_eol` is :data:`True`.
        """
        logger.debug("Selecting best %s mirror ..", self.distributor_id.capitalize())
        if self.release_is_eol:
            logger.info("%s is EOL, using %s.", self.release, self.old_releases_url)
            return self.old_releases_url
        else:
            return self.ranked_mirrors[0].mirror_url
def best_mirror ( self ) : logger . debug ( "Selecting best %s mirror .." , self . distributor_id . capitalize ( ) ) if self . release_is_eol : logger . info ( "%s is EOL, using %s." , self . release , self . old_releases_url ) return self . old_releases_url else : return self . ranked_mirrors [ 0 ] . mirror_url