summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py2
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)