summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-10-09 17:57:37 +0000
committerZac Medico <zmedico@gentoo.org>2007-10-09 17:57:37 +0000
commit16832f91ddc9f55bb98628d38b81720688f0b90c (patch)
tree95e9a3177f06b0dd5ef9f8238af325d652b95e70
parenta6cd59a90b4cd8c567a6cd6f4c36a7483b392ea4 (diff)
downloadportage-16832f91ddc9f55bb98628d38b81720688f0b90c.tar.gz
portage-16832f91ddc9f55bb98628d38b81720688f0b90c.tar.bz2
portage-16832f91ddc9f55bb98628d38b81720688f0b90c.zip
Fix USE logic for built packages when populating the filtered repo.
svn path=/main/trunk/; revision=8017
-rw-r--r--pym/emerge/__init__.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index d92ec440c..d02fe4770 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -1822,12 +1822,12 @@ class depgraph(object):
if slot is not None:
if slot != metadata["SLOT"]:
continue
- if not built and \
- (is_virt or "?" in metadata["LICENSE"]):
- pkgsettings.setcpv(cpv, mydb=metadata)
- metadata["USE"] = pkgsettings["USE"]
- else:
- metadata["USE"] = ""
+ if not built:
+ if (is_virt or "?" in metadata["LICENSE"]):
+ pkgsettings.setcpv(cpv, mydb=metadata)
+ metadata["USE"] = pkgsettings["USE"]
+ else:
+ metadata["USE"] = ""
try:
if not visible(pkgsettings, cpv, metadata,