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

pym/emerge/__init__.py

index 8d8d805441f70e6deeca1958e7e3025de9a1ca36..a05a16a9bc7fd657cad718d47b6414310c10e60e 100644 (file)
@@ -2823,7 +2823,7 @@ class depgraph(object):
                                                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)