From: Arfrever Frehtes Taifersar Arahesis Date: Sun, 18 Dec 2011 21:14:00 +0000 (+0100) Subject: Optimize RepoConfigLoader._add_overlays(). X-Git-Tag: v2.2.0_alpha82~43 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3360b046e0cb7f23e6edba23dbef6d0ccd558834;p=portage.git Optimize RepoConfigLoader._add_overlays(). --- diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 1cc66ddd1..0f3f836af 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -324,16 +324,12 @@ class RepoConfigLoader(object): repo_conf_opts = prepos.get(repo.name) if repo_conf_opts is not None: if repo_conf_opts.aliases is not None: - repo_opts['aliases'] = \ - ' '.join(repo_conf_opts.aliases) + repo.aliases = repo_conf_opts.aliases if repo_conf_opts.eclass_overrides is not None: - repo_opts['eclass-overrides'] = \ - ' '.join(repo_conf_opts.eclass_overrides) + repo.eclass_overrides = repo_conf_opts.eclass_overrides if repo_conf_opts.masters is not None: - repo_opts['masters'] = \ - ' '.join(repo_conf_opts.masters) + repo.masters = repo_conf_opts.masters - repo = RepoConfig(repo.name, repo_opts) if repo.name in prepos: old_location = prepos[repo.name].location if old_location is not None and old_location != repo.location: