repoman: fix broken masking check
authorZac Medico <zmedico@gentoo.org>
Thu, 25 Nov 2010 04:00:17 +0000 (20:00 -0800)
committerZac Medico <zmedico@gentoo.org>
Thu, 25 Nov 2010 03:47:53 +0000 (19:47 -0800)
This has been broken since 9ed6332f2015e41f072f897764f550c5574ea96f.

bin/repoman

index 2b0df1268c01a0b40c66395d75ba789a417e4de4..95a8514c5ba96538774aec8a7efca343973e61f5 100755 (executable)
@@ -1900,7 +1900,7 @@ for x in scanlist:
 
                                if not baddepsyntax:
                                        ismasked = not ebuild_archs or \
-                                               pkg.cp not in portdb.xmatch("list-visible", x)
+                                               pkg.cpv not in portdb.xmatch("list-visible", pkg.cp)
                                        if ismasked:
                                                if not have_pmasked:
                                                        have_pmasked = bool(dep_settings._getMaskAtom(