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

Collapse All | Expand All

(-)/usr/lib/gentoolkit/pym/gentoolkit/helpers.py.orig (-5 / +2 lines)
Lines 94-104 Link Here
94
def find_all_installed_packages(prefilter=None):
94
def find_all_installed_packages(prefilter=None):
95
	"""Returns a list of all installed packages, after applying the prefilter
95
	"""Returns a list of all installed packages, after applying the prefilter
96
	function"""
96
	function"""
97
	t = vartree.dbapi.cpv_all()
97
	alist = find_all_packages(prefilter)
98
	if prefilter:
98
	return [x for x in alist if x.is_installed()]
99
		t = filter(prefilter,t)
100
	
101
	return [Package(x) for x in t]
102
99
103
def find_all_uninstalled_packages(prefilter=None):
100
def find_all_uninstalled_packages(prefilter=None):
104
	"""Returns a list of all uninstalled packages, after applying the prefilter
101
	"""Returns a list of all uninstalled packages, after applying the prefilter

Return to bug 69456