For bug #187142, properly pass a dbapi instance into setcpv() so that USE_EXPAND...
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 22:51:12 +0000 (22:51 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 22:51:12 +0000 (22:51 -0000)
svn path=/main/trunk/; revision=7524

pym/emerge/__init__.py

index a05a16a9bc7fd657cad718d47b6414310c10e60e..de6766ffbc3fc65df1eb630d9314fe2917aa9274 100644 (file)
@@ -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)