elif "config"==myaction:
validate_ebuild_environment(trees)
action_config(settings, trees, myopts, myfiles)
-
- # INFO action
- elif "info"==myaction:
- action_info(settings, trees, myopts, myfiles)
# SEARCH action
elif "search"==myaction:
if not (buildpkgonly or fetchonly or pretend):
post_emerge(root_config, myopts, mtimedb, os.EX_OK)
- elif myaction in ("depclean", "prune"):
+ elif myaction in ("depclean", "info", "prune"):
# Ensure atoms are valid before calling unmerge().
vardb = trees[settings["ROOT"]]["vartree"].dbapi
level=logging.ERROR, noiselevel=-1)
return 1
+ if myaction == "info":
+ return action_info(settings, trees, myopts, valid_atoms)
+
validate_ebuild_environment(trees)
action_depclean(settings, trees, mtimedb["ldpath"],
myopts, myaction, valid_atoms, spinner)