Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 37709
Collapse All | Expand All

(-)gentoolkit.py.orig (-1 / +1 lines)
Lines 237-243 Link Here
237
def find_all_installed_packages(prefilter=None):
237
def find_all_installed_packages(prefilter=None):
238
    """Returns a list of all installed packages, after applying the prefilter
238
    """Returns a list of all installed packages, after applying the prefilter
239
    function"""
239
    function"""
240
    t=vartree.cpv_all()
240
    t=vartree.dbapi.cpv_all()
241
    if prefilter:
241
    if prefilter:
242
        t=filter(prefilter,t)
242
        t=filter(prefilter,t)
243
    return [Package(x) for x in t]
243
    return [Package(x) for x in t]

Return to bug 37709