myroot = settings["ROOT"]
root_config = trees[myroot]["root_config"]
psets = root_config.setconfig.psets
- vardb = trees[myroot]["vartree"].dbapi
deselect = myopts.get('--deselect') != 'n'
required_set_stack = ["world"]
writemsg_level("\nCalculating dependencies ")
resolver_params = create_depgraph_params(myopts, "remove")
resolver = depgraph(settings, trees, myopts, resolver_params, spinner)
+ resolver._load_vdb()
vardb = resolver._frozen_config.trees[myroot]["vartree"].dbapi
if action == "depclean":