aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2015-02-03 12:49:39 -0800
committerBrian Dolbec <dolsen@gentoo.org>2015-02-03 12:49:39 -0800
commitd75b8dc6929c44f0c63d5c1d00143a61efe9d1cd (patch)
tree066740f2d70da3d08e02b4736b5d02e2d9ca5650 /pym/portage/repository/config.py
parentInitial updates for the 2.2.16 release (diff)
downloadportage-d75b8dc6929c44f0c63d5c1d00143a61efe9d1cd.tar.gz
portage-d75b8dc6929c44f0c63d5c1d00143a61efe9d1cd.tar.bz2
portage-d75b8dc6929c44f0c63d5c1d00143a61efe9d1cd.zip
portage/repositoy/config.py: Create an auto-sync default of 'yes'
From the news item review comments, the numerous 'sky is falling' type outcries due to the possibility of emerge --sync not actually syncing anything. Although, this new default will likely cause some grief to eix-sync users whom have to re-edit eix's config to disable it from syncing overlays.
Diffstat (limited to 'pym/portage/repository/config.py')
-rw-r--r--pym/portage/repository/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index fd0eea400..881890e58 100644
--- a/pym/portage/repository/config.py
+++ b/pym/portage/repository/config.py
@@ -172,7 +172,7 @@ class RepoConfig(object):
sync_user = sync_user.strip()
self.sync_user = sync_user or None
- auto_sync = repo_opts.get('auto-sync')
+ auto_sync = repo_opts.get('auto-sync', 'yes')
if auto_sync is not None:
auto_sync = auto_sync.strip().lower()
self.auto_sync = auto_sync