Use a config instance that's not locked/immutable.
authorZac Medico <zmedico@gentoo.org>
Fri, 13 Apr 2007 04:13:42 +0000 (04:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 13 Apr 2007 04:13:42 +0000 (04:13 -0000)
svn path=/main/trunk/; revision=6383

pym/portage/dbapi/porttree.py

index 11182d1c163db689f910b6b7999f1bee40a20d08..ad6ccc45a3888016179bd0a821442a60842569b3 100644 (file)
@@ -700,8 +700,8 @@ class portdbapi(dbapi):
                                match=1
                        uselist = []
                        if "?" in licenses:
-                               self.mysettings.setcpv(mycpv, mydb=self)
-                               uselist = self.mysettings.get("USE", "").split()
+                               self.doebuild_settings.setcpv(mycpv, mydb=self)
+                               uselist = self.doebuild_settings.get("USE", "").split()
                        try:
                                if self.mysettings.getMissingLicenses(
                                        licenses, mycpv, uselist):