diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-07-30 22:51:12 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-07-30 22:51:12 +0000 |
commit | 807492a40ed39898af4b4dc6d29aabcc7c8865d7 (patch) | |
tree | 169cdfa33749b935533167e70ac404889122a8ae | |
parent | 0cc7d78dcd29bb76fa415bf7047e3c9a8e01bce2 (diff) | |
download | portage-807492a40ed39898af4b4dc6d29aabcc7c8865d7.tar.gz portage-807492a40ed39898af4b4dc6d29aabcc7c8865d7.tar.bz2 portage-807492a40ed39898af4b4dc6d29aabcc7c8865d7.zip |
For bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND wildcards work correctly.
svn path=/main/trunk/; revision=7524
-rw-r--r-- | pym/emerge/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |