diff options
-rw-r--r-- | pym/emerge/__init__.py | 12 |
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, |