From: Zac Medico Date: Mon, 30 Jul 2007 22:51:12 +0000 (-0000) Subject: For bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND... X-Git-Tag: v2.2_pre1~917 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=807492a40ed39898af4b4dc6d29aabcc7c8865d7;p=portage.git For bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND wildcards work correctly. svn path=/main/trunk/; revision=7524 --- diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index a05a16a9b..de6766ffb 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -2743,7 +2743,7 @@ class depgraph(object): 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)