commit:     1cafabf2b61ac43c0ff8694ec3d895fc68a0cac3
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 23 23:54:41 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 03:03:12 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=1cafabf2

ArchChecks: don't mix arches between ebuilds

Fix ArchChecks to not mix arches of ebuilds together, so that
errors are only reported for those arches that the ebuild has
keywords for.

 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
 

Reply via email to