From d7c7295e4a7f9c3ccb56e65642e236511f8f3e17 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 25 Mar 2006 01:04:57 +0000 Subject: Load virtuals on demand in order to avoid needless vdb scanning during a simple 'import portage'. Virtuals are loaded during import, for initialization of portage.settings, only when autouse is enabled (though autouse is disabled by default). svn path=/main/trunk/; revision=2999 --- bin/repoman | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index 8bce009aa..9ef848b1b 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1115,7 +1115,7 @@ for x in scanlist: for myprovide in myaux["PROVIDE"].split(): prov_cp = portage.dep_getkey(myprovide) - if prov_cp not in dep_settings.virtuals: + if prov_cp not in dep_settings.getvirtuals(): stats["virtual.unavailable"]+=1 fails["virtual.unavailable"].append(x+"/"+y+".ebuild: "+keyword+"("+prof[0]+") "+prov_cp) -- cgit v1.2.3-1-g7c22