summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-07-30 06:23:17 +0000
committerZac Medico <zmedico@gentoo.org>2007-07-30 06:23:17 +0000
commit790ac83ac74d1d46f3adfa5dbd1809bfac00f98f (patch)
treed5a583cc05f5f2aa92fce780c3eb823f274f3eac
parent939a8c044a79900244e300974728a4fd13b044d4 (diff)
downloadportage-790ac83ac74d1d46f3adfa5dbd1809bfac00f98f.tar.gz
portage-790ac83ac74d1d46f3adfa5dbd1809bfac00f98f.tar.bz2
portage-790ac83ac74d1d46f3adfa5dbd1809bfac00f98f.zip
Always pass a dbapi instance into a setcpv call.
svn path=/main/trunk/; revision=7496
-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 8d8d80544..a05a16a9b 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -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)