summaryrefslogtreecommitdiffstats
path: root/pym/portage/dbapi/vartree.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-06-04 17:08:08 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-04 17:08:08 -0700
commit70c1c399615ae3a2ed15d1684a99f32126305d15 (patch)
treee3e7b6aa2455c6ce3c0c5683976c0978fa2d0616 /pym/portage/dbapi/vartree.py
parent881f72488477cc57c4702cf699446c5dd1163a79 (diff)
downloadportage-70c1c399615ae3a2ed15d1684a99f32126305d15.tar.gz
portage-70c1c399615ae3a2ed15d1684a99f32126305d15.tar.bz2
portage-70c1c399615ae3a2ed15d1684a99f32126305d15.zip
Uniformly check EAPI when avoiding setcpv calls.
Diffstat (limited to 'pym/portage/dbapi/vartree.py')
-rw-r--r--pym/portage/dbapi/vartree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index 16cf48b76..5c6166ca4 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1676,7 +1676,7 @@ class dblink(object):
break
if self.mycpv != self.settings.mycpv or \
- "SLOT" not in self.settings.configdict["pkg"]:
+ "EAPI" not in self.settings.configdict["pkg"]:
# We avoid a redundant setcpv call here when
# the caller has already taken care of it.
self.settings.setcpv(self.mycpv, mydb=self.vartree.dbapi)