commit: d75b8dc6929c44f0c63d5c1d00143a61efe9d1cd
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 3 20:49:39 2015 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue Feb 3 20:49:39 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d75b8dc6
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.
---
pym/portage/repository/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py
index fd0eea4..881890e 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