missed that it's a db function
authorgenone <genone@gentoo.org>
Fri, 9 Jan 2004 04:27:02 +0000 (04:27 -0000)
committergenone <genone@gentoo.org>
Fri, 9 Jan 2004 04:27:02 +0000 (04:27 -0000)
svn path=/; revision=56

trunk/src/gentoolkit/gentoolkit.py

index e6ec369cb33e5b14d82fbd0a0fa5d0aa3eded61e..a98a79cce8bbbc9b2e4c0350dbc4c0ecd9c4ebec 100644 (file)
@@ -237,7 +237,7 @@ def find_world_packages(prefilter=None):
 def find_all_installed_packages(prefilter=None):
     """Returns a list of all installed packages, after applying the prefilter
     function"""
-    t=vartree.cpv_all()
+    t=vartree.dbapi.cpv_all()
     if prefilter:
         t=filter(prefilter,t)
     return [Package(x) for x in t]