Use the correct ACCEPT_KEYWORDS for each profile (regression from r3231).
authorZac Medico <zmedico@gentoo.org>
Wed, 26 Apr 2006 08:19:54 +0000 (08:19 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 26 Apr 2006 08:19:54 +0000 (08:19 -0000)
svn path=/main/trunk/; revision=3240

bin/repoman

index 4735d6875275f3a0f5c1ef88dc11aae39b9d3d3e..ef62f3c1e113bdd8d682288e74e180c0917f44e4 100755 (executable)
@@ -1096,11 +1096,12 @@ for x in scanlist:
                                        dep_settings, portage.portdb, portage.db["/"]["porttree"] = arch_caches[prof[0]]
                                else:
                                        dep_settings=portage.config(config_profile_path=profdir, config_incrementals=portage_const.INCREMENTALS)
-                                       dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups)
                                        portage.portdb=portage.portdbapi(portdir, dep_settings)
                                        portage.db["/"]["porttree"]=portage.portagetree("/",dep_settings.getvirtuals("/"))
                                        arch_caches[prof[0]]=[dep_settings, portage.portdb, portage.db["/"]["porttree"]]
-       
+
+                               dep_settings["ACCEPT_KEYWORDS"] = " ".join(groups)
+
                                for myprovide in myaux["PROVIDE"].split():
                                        prov_cp = portage.dep_getkey(myprovide)
                                        if prov_cp not in dep_settings.getvirtuals():