Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/repoman/modules/scan/arches/
Date: Fri, 29 Apr 2016 17:24:51
Message-Id: 1461598133.44b8d01d71d5efffcce776a291acb6fef076dcb9.dolsen@gentoo
1 commit: 44b8d01d71d5efffcce776a291acb6fef076dcb9
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 23 23:54:41 2016 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 25 15:28:53 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=44b8d01d
7
8 ArchChecks: don't mix arches between ebuilds
9
10 Fix ArchChecks to not mix arches of ebuilds together, so that
11 errors are only reported for those arches that the ebuild has
12 keywords for.
13
14 pym/repoman/modules/scan/arches/arches.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/pym/repoman/modules/scan/arches/arches.py b/pym/repoman/modules/scan/arches/arches.py
18 index 4df25a8..6e1c17d 100644
19 --- a/pym/repoman/modules/scan/arches/arches.py
20 +++ b/pym/repoman/modules/scan/arches/arches.py
21 @@ -69,7 +69,7 @@ class ArchChecks(ScanBase):
22 arches.add(('**', '**', ('**',)))
23 # update the dynamic data
24 dyn_arches = kwargs.get('arches')
25 - #dyn_arches.clear()
26 + dyn_arches.clear()
27 dyn_arches.update(arches)
28 return False