Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: [gentoo-portage-dev] [PATCH] ArchChecks: don't mix arches between ebuilds
Date: Sat, 23 Apr 2016 23:57:44
Message-Id: 1461455841-20194-1-git-send-email-zmedico@gentoo.org
1 Fix ArchChecks to not mix arches of ebuilds together, so that
2 errors are only reported for those arches that the ebuild has
3 keywords for.
4 ---
5 Applies to the *repoman* branch.
6
7 pym/repoman/modules/scan/arches/arches.py | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/pym/repoman/modules/scan/arches/arches.py b/pym/repoman/modules/scan/arches/arches.py
11 index 4df25a8..6e1c17d 100644
12 --- a/pym/repoman/modules/scan/arches/arches.py
13 +++ b/pym/repoman/modules/scan/arches/arches.py
14 @@ -69,7 +69,7 @@ class ArchChecks(ScanBase):
15 arches.add(('**', '**', ('**',)))
16 # update the dynamic data
17 dyn_arches = kwargs.get('arches')
18 - #dyn_arches.clear()
19 + dyn_arches.clear()
20 dyn_arches.update(arches)
21 return False
22
23 --
24 2.7.4

Replies