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 67D3A138208 for ; Sat, 23 Apr 2016 23:57:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3901DE0851; Sat, 23 Apr 2016 23:57:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B7A88E0835 for ; Sat, 23 Apr 2016 23:57:40 +0000 (UTC) Received: from 11e.gaikai.biz, (ip68-5-185-102.oc.oc.cox.net [68.5.185.102]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id 52316340C30; Sat, 23 Apr 2016 23:57:39 +0000 (UTC) From: Zac Medico To: gentoo-portage-dev@lists.gentoo.org Cc: Zac Medico Subject: [gentoo-portage-dev] [PATCH] ArchChecks: don't mix arches between ebuilds Date: Sat, 23 Apr 2016 16:57:21 -0700 Message-Id: <1461455841-20194-1-git-send-email-zmedico@gentoo.org> X-Mailer: git-send-email 2.7.4 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Archives-Salt: 0c724508-a4e6-4d18-9a17-edca5e29f7ce X-Archives-Hash: 5bbcbe49f57062bc4abed10d877ff9dd Fix ArchChecks to not mix arches of ebuilds together, so that errors are only reported for those arches that the ebuild has keywords for. --- Applies to the *repoman* branch. pym/repoman/modules/scan/arches/arches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/repoman/modules/scan/arches/arches.py b/pym/repoman/modules/scan/arches/arches.py index 4df25a8..6e1c17d 100644 --- a/pym/repoman/modules/scan/arches/arches.py +++ b/pym/repoman/modules/scan/arches/arches.py @@ -69,7 +69,7 @@ class ArchChecks(ScanBase): arches.add(('**', '**', ('**',))) # update the dynamic data dyn_arches = kwargs.get('arches') - #dyn_arches.clear() + dyn_arches.clear() dyn_arches.update(arches) return False -- 2.7.4