Fix find_world_packages() Bug #76568
authorfuzzyray <fuzzyray@gentoo.org>
Fri, 6 Jan 2006 02:41:14 +0000 (02:41 -0000)
committerfuzzyray <fuzzyray@gentoo.org>
Fri, 6 Jan 2006 02:41:14 +0000 (02:41 -0000)
svn path=/; revision=270

trunk/src/gentoolkit/helpers.py

index a1071e76b6c6fdd30d9d3b7dcaaa4246bfb90e74..fa4689f320bab0a411a4981136119ee38e039940 100644 (file)
@@ -85,7 +85,7 @@ def find_system_packages(prefilter=None):
 def find_world_packages(prefilter=None):
        """Returns a tuple of lists, first list is resolved world packages,
        seond is unresolved package names."""
-       f = open(portage.root+"var/cache/edb/world")
+       f = open(portage.WORLD_FILE)
        pkglist = f.readlines()
        resolved = []
        unresolved = []