From: Zac Medico Date: Mon, 30 Jul 2007 22:51:50 +0000 (-0000) Subject: For bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND... X-Git-Tag: v2.1.3.9~74 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2552a00682d38b465201231fb1513cdd91483981;p=portage.git For bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND wildcards work correctly. (trunk r7524) svn path=/main/branches/2.1.2/; revision=7525 --- diff --git a/bin/emerge b/bin/emerge index 9cad9379d..71a5ae40e 100755 --- a/bin/emerge +++ b/bin/emerge @@ -2796,7 +2796,7 @@ class depgraph: raise portage_exception.PackageNotFound(pkg_key) repo_path_real = os.path.dirname(os.path.dirname( os.path.dirname(ebuild_path))) - pkgsettings.setcpv(pkg_key) + pkgsettings.setcpv(pkg_key, mydb=mydbapi) metadata["USE"] = pkgsettings["USE"] else: repo_path_real = portdb.getRepositoryPath(repo_name)