From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id DB49C1381F3 for ; Thu, 25 Jul 2013 21:41:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EACF4E081D; Thu, 25 Jul 2013 21:41:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8479DE081D for ; Thu, 25 Jul 2013 21:41:24 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6990B33E983 for ; Thu, 25 Jul 2013 21:41:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id C606FE5458 for ; Thu, 25 Jul 2013 21:41:21 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1374788464.bbe0fd57a31ebd9b900f1774b5606f2b9923c5e9.zmedico@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: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: bbe0fd57a31ebd9b900f1774b5606f2b9923c5e9 X-VCS-Branch: master Date: Thu, 25 Jul 2013 21:41:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 057a2d5d-3658-4528-b7b4-46f6083d944f X-Archives-Hash: e43fe6e6e072fd35e5163a93ff2a3b2e commit: bbe0fd57a31ebd9b900f1774b5606f2b9923c5e9 Author: Zac Medico gentoo org> AuthorDate: Thu Jul 25 21:41:04 2013 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu Jul 25 21:41:04 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=bbe0fd57 Fix alias handling in missing masters warning. --- pym/portage/repository/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/repository/config.py b/pym/portage/repository/config.py index 57cc3a3..7620c5f 100644 --- a/pym/portage/repository/config.py +++ b/pym/portage/repository/config.py @@ -798,9 +798,9 @@ class RepoConfigLoader(object): continue if repo._masters_orig is None and self.mainRepo() and \ - repo_name != self.mainRepo().name and not portage._sync_disabled_warnings: + repo.name != self.mainRepo().name and not portage._sync_disabled_warnings: writemsg_level("!!! %s\n" % _("Repository '%s' is missing masters attribute in '%s'") % - (repo_name, os.path.join(repo.location, "metadata", "layout.conf")) + + (repo.name, os.path.join(repo.location, "metadata", "layout.conf")) + "!!! %s\n" % _("Set 'masters = %s' in this file for future compatibility") % self.mainRepo().name, level=logging.WARNING, noiselevel=-1)