repoman: fix broken masking check v2.2.0_alpha5
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 04:03:16 +0000 (20:03 -0800)
This has been broken since 9ed6332f2015e41f072f897764f550c5574ea96f.

bin/repoman

index 2b8156e03b89b16f50a33b860501e1bf8db0d054..1e1b1467acb13804aa62e0d2618b49dcda3f61f8 100755 (executable)
@@ -1903,7 +1903,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(