xterm_titles = "notitles" not in settings.features
portdb = trees[settings["ROOT"]]["porttree"].dbapi
- vartree = trees[settings["ROOT"]]["vartree"]
+ vartree = FakeVartree(trees[settings["ROOT"]]["vartree"])
vardb = vartree.dbapi
syslist = getlist(settings, "system")
worldlist = getlist(settings, "world")
cleanlist = [pkg for pkg in vardb.cpv_all() if not fakedb.cpv_exists(pkg)]
if len(cleanlist):
- unmerge(settings, myopts, vartree, "unmerge", cleanlist, ldpath_mtimes)
+ unmerge(settings, myopts, trees[settings["ROOT"]]["vartree"],
+ "unmerge", cleanlist, ldpath_mtimes)
print "Packages installed: "+str(len(myvarlist))
print "Packages in world: "+str(len(worldlist))