From: fuzzyray Date: Fri, 12 Jan 2007 00:09:12 +0000 (-0000) Subject: Fix find_world_packages() to be able to open the world file X-Git-Tag: gentoolkit-0.2.4.3~174 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1f115e0d7054285969f765941d1a07a98317d186;p=gentoolkit.git Fix find_world_packages() to be able to open the world file svn path=/; revision=339 --- diff --git a/trunk/src/gentoolkit/helpers.py b/trunk/src/gentoolkit/helpers.py index fa4689f..3fa32d1 100644 --- a/trunk/src/gentoolkit/helpers.py +++ b/trunk/src/gentoolkit/helpers.py @@ -1,4 +1,4 @@ -#! /usr/bin/python2 +# /usr/bin/python2 # # Copyright(c) 2004, Karl Trygve Kalleberg # Copyright(c) 2004, Gentoo Foundation @@ -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.WORLD_FILE) + f = open(portage.root+portage.WORLD_FILE) pkglist = f.readlines() resolved = [] unresolved = []