diff options
author | 2015-06-24 23:36:50 -0400 | |
---|---|---|
committer | 2015-06-24 23:36:50 -0400 | |
commit | 621b425942e4d9e72c9d495547c20dc90101c935 (patch) | |
tree | 2dbe9bca27a0339a1dd1e439222abe1ebd7045b3 | |
parent | portage_conf: minor dict creation simplification (diff) | |
download | pkgcore-621b425942e4d9e72c9d495547c20dc90101c935.tar.gz pkgcore-621b425942e4d9e72c9d495547c20dc90101c935.tar.bz2 pkgcore-621b425942e4d9e72c9d495547c20dc90101c935.zip |
portage_conf: minor syncer config simplification
Syncers should always exist under the new repos.conf only system.
-rw-r--r-- | pkgcore/ebuild/portage_conf.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgcore/ebuild/portage_conf.py b/pkgcore/ebuild/portage_conf.py index d32f1a7e..6b054684 100644 --- a/pkgcore/ebuild/portage_conf.py +++ b/pkgcore/ebuild/portage_conf.py @@ -455,9 +455,8 @@ def config_from_make_conf(location="/etc/", profile_override=None, **kwargs): conf = { 'class': 'pkgcore.ebuild.repo_objs.RepoConfig', 'location': repo_path, + 'syncer': 'sync:%s' % (repo_path,) } - if 'sync:%s' % (repo_path,) in config: - conf['syncer'] = 'sync:%s' % (repo_path,) config['raw:' + repo_path] = basics.AutoConfigSection(conf) # metadata cache |