Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 140591 | Differences between
and this patch

Collapse All | Expand All

(-)bin/emerge (-2 / +4 lines)
Lines 3193-3199 Link Here
3193
	vartree = trees[settings["ROOT"]]["vartree"]
3193
	vartree = trees[settings["ROOT"]]["vartree"]
3194
	syslist = getlist(settings, "system")
3194
	syslist = getlist(settings, "system")
3195
	worldlist = getlist(settings, "world")
3195
	worldlist = getlist(settings, "world")
3196
	myvarlist = vartree.dbapi.cp_all()
3196
	myvarlist = vartree.dbapi.cpv_all()
3197
3197
3198
	if not syslist:
3198
	if not syslist:
3199
		print "\n!!! You have no system list.",
3199
		print "\n!!! You have no system list.",
Lines 3235-3240 Link Here
3235
		sys.exit(1)
3235
		sys.exit(1)
3236
3236
3237
	reallist=[]
3237
	reallist=[]
3238
	explicitly_required = set()
3238
	for x in alldeps:
3239
	for x in alldeps:
3239
		myparts=portage.catpkgsplit(string.split(x)[2])
3240
		myparts=portage.catpkgsplit(string.split(x)[2])
3240
		if not myparts:
3241
		if not myparts:
Lines 3251-3260 Link Here
3251
		catpack=myparts[0]+"/"+myparts[1]
3252
		catpack=myparts[0]+"/"+myparts[1]
3252
		if catpack not in reallist:
3253
		if catpack not in reallist:
3253
			reallist.append(catpack)
3254
			reallist.append(catpack)
3255
		explicitly_required.add(x.split()[2])
3254
3256
3255
	cleanlist=[]
3257
	cleanlist=[]
3256
	for x in myvarlist:
3258
	for x in myvarlist:
3257
		if x not in reallist:
3259
		if x not in explicitly_required:
3258
			if x not in cleanlist:
3260
			if x not in cleanlist:
3259
				cleanlist.append(x)
3261
				cleanlist.append(x)
3260
3262

Return to bug 140591