(self)
The absolute pathname of the list of configured APT data sources (a string).

        For new version of Linux Mint, main_sources_list is:
        /etc/apt/sources.list.d/official-package-repositories.list
The absolute pathname of the list of configured APT data sources (a string).
The absolute pathname of the list of configured APT data sources ( a string ) .
def main_sources_list(self):
        """
        The absolute pathname of the list of configured APT data sources (a string).

        For new version of Linux Mint, main_sources_list is:
        /etc/apt/sources.list.d/official-package-repositories.list
        """
        if self.context.exists('/etc/apt/sources.list.d/official-package-repositories.list'):
            logger.debug("/etc/apt/sources.list.d/official-package-repositories.list exists,\
                         use it as main_sources_list instead of /etc/apt/sources.list")
            return '/etc/apt/sources.list.d/official-package-repositories.list'
        else:
            return '/etc/apt/sources.list'
def main_sources_list ( self ) : if self . context . exists ( '/etc/apt/sources.list.d/official-package-repositories.list' ) : logger . debug ( "/etc/apt/sources.list.d/official-package-repositories.list exists,\
                         use it as main_sources_list instead of /etc/apt/sources.list" ) return '/etc/apt/sources.list.d/official-package-repositories.list' else : return '/etc/apt/sources.list'