diff --git a/distro/distro.py b/distro/distro.py index 49c57bb..3d0b955 100644 --- a/distro/distro.py +++ b/distro/distro.py @@ -35,7 +35,7 @@ class Distro: def repos_config_snippet(self, extra_repos: Mapping[str, RepoInfo] = {}) -> str: extras = [Repo(name, url_template=info.url_template, arch=self.arch, options=info.options, scan=False) for name, info in extra_repos.items()] - return '\n\n'.join(repo.config_snippet() for repo in (list(self.repos.values()) + extras)) + return '\n\n'.join(repo.config_snippet() for repo in (extras + list(self.repos.values()))) def get_pacman_conf(self, extra_repos: Mapping[str, RepoInfo] = {}, check_space: bool = True): body = generate_pacman_conf_body(self.arch, check_space=check_space)