From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-769489-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id 82D1E138A1A
	for <garchives@archives.gentoo.org>; Tue,  3 Feb 2015 20:57:06 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6B508E0976;
	Tue,  3 Feb 2015 20:57:05 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id E5AB9E0976
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Feb 2015 20:57:04 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id AC6FB3407B9
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Feb 2015 20:57:03 +0000 (UTC)
Received: from localhost.localdomain (localhost [127.0.0.1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1D1CB10FD6
	for <gentoo-commits@lists.gentoo.org>; Tue,  3 Feb 2015 20:57:02 +0000 (UTC)
From: "Brian Dolbec" <dolsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" <dolsen@gentoo.org>
Message-ID: <1422996579.d75b8dc6929c44f0c63d5c1d00143a61efe9d1cd.dolsen@gentoo>
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/repository/
X-VCS-Repository: proj/portage
X-VCS-Files: pym/portage/repository/config.py
X-VCS-Directories: pym/portage/repository/
X-VCS-Committer: dolsen
X-VCS-Committer-Name: Brian Dolbec
X-VCS-Revision: d75b8dc6929c44f0c63d5c1d00143a61efe9d1cd
X-VCS-Branch: master
Date: Tue,  3 Feb 2015 20:57:02 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: bd70cb28-1c55-43ba-9cf0-6d8b01db106c
X-Archives-Hash: ecb30f5e19080a53265a5d33bb6d39cf

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