From 16832f91ddc9f55bb98628d38b81720688f0b90c Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 9 Oct 2007 17:57:37 +0000 Subject: [PATCH] Fix USE logic for built packages when populating the filtered repo. svn path=/main/trunk/; revision=8017 --- pym/emerge/__init__.py | 12 ++++++------ 1 file 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, -- 2.26.2