if len(pargs) < 2:
parser.error("missing required args")
-if "merge" in pargs:
- print("Disabling noauto in features... merge disables it. (qmerge doesn't)")
- os.environ["FEATURES"] = os.environ.get("FEATURES", "") + " -noauto"
-
os.environ["PORTAGE_CALLER"]="ebuild"
try:
import portage
tmpsettings.features.discard("fail-clean")
+if "merge" in pargs and "noauto" in tmpsettings.features:
+ print("Disabling noauto in features... merge disables it. (qmerge doesn't)")
+ tmpsettings.features.discard("noauto")
+
try:
metadata = dict(zip(Package.metadata_keys,
portage.db[portage.settings["ROOT"]][mytree].dbapi.aux_get(