(self)
The URL of the main mirror in use in :attr:`main_sources_list` (a string).

        The :attr:`current_mirror` property's value is computed using
        :func:`find_current_mirror()`, but can be changed and cached by :func:`distribution_codename`
        for Linux Mint's Ubuntu Mode.
The URL of the main mirror in use in :attr:`main_sources_list` (a string).
The URL of the main mirror in use in : attr : main_sources_list ( a string ) .
def current_mirror(self):
        """
        The URL of the main mirror in use in :attr:`main_sources_list` (a string).

        The :attr:`current_mirror` property's value is computed using
        :func:`find_current_mirror()`, but can be changed and cached by :func:`distribution_codename`
        for Linux Mint's Ubuntu Mode.
        """
        if self.ubuntu_mode and self.distribution_codename:  # :func:`distribution_codename` will set current_mirror
            return self.current_mirror
        else:
            logger.debug("Parsing %s to find current mirror of %s ..", self.main_sources_list, self.context)
            return find_current_mirror(self.get_sources_list())
def current_mirror ( self ) : if self . ubuntu_mode and self . distribution_codename : # :func:`distribution_codename` will set current_mirror return self . current_mirror else : logger . debug ( "Parsing %s to find current mirror of %s .." , self . main_sources_list , self . context ) return find_current_mirror ( self . get_sources_list ( ) )