s/str_matches/acceptable_licenses/ typo
authorZac Medico <zmedico@gentoo.org>
Sun, 22 Oct 2006 10:20:16 +0000 (10:20 -0000)
committerZac Medico <zmedico@gentoo.org>
Sun, 22 Oct 2006 10:20:16 +0000 (10:20 -0000)
svn path=/main/trunk/; revision=4793

pym/portage.py

index 1b936e2c63063be8eb95a01f1a82eb4880a4ebfa..a7201139eda256942347c19bf874f3fa08c79937 100644 (file)
@@ -3953,7 +3953,7 @@ def getmaskingstatus(mycpv, settings=None, portdb=None):
        def str_matches(myatom):
                return myatom in acceptable_licenses
        license_req = dep_check(mylicense, None, settings,
-               str_matches=acceptable_licenses)[1]
+               str_matches=str_matches)[1]
        if license_req:
                rValue.append(" ".join(license_req) + " license(s)")