Always pass a dbapi instance into a setcpv call. (trunk r7496)
authorZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 06:41:53 +0000 (06:41 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 30 Jul 2007 06:41:53 +0000 (06:41 -0000)
svn path=/main/branches/2.1.2/; revision=7499

bin/emerge

index 7202174b2a778bb56d159cccfe8278fd84ce6030..9cad9379d77b7ebdb79b1e86f2fd84641090345d 100755 (executable)
@@ -2877,7 +2877,7 @@ class depgraph:
                                                mydbapi.aux_get(pkg_key, ["IUSE"])[0].split()))
 
                                        forced_flags = set()
-                                       pkgsettings.setcpv(pkg_key) # for package.use.{mask,force}
+                                       pkgsettings.setcpv(pkg_key, mydb=mydbapi) # for package.use.{mask,force}
                                        forced_flags.update(pkgsettings.useforce)
                                        forced_flags.update(pkgsettings.usemask)