From 1f115e0d7054285969f765941d1a07a98317d186 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Fri, 12 Jan 2007 00:09:12 +0000 Subject: [PATCH] Fix find_world_packages() to be able to open the world file svn path=/; revision=339 --- trunk/src/gentoolkit/helpers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 = [] -- 2.26.2