diff options
| author | fuzzyray <fuzzyray@gentoo.org> | 2007-01-12 00:09:12 +0000 |
|---|---|---|
| committer | fuzzyray <fuzzyray@gentoo.org> | 2007-01-12 00:09:12 +0000 |
| commit | 1f115e0d7054285969f765941d1a07a98317d186 (patch) | |
| tree | 1d3bb7c1ac8a319998648e2f27a6d976e8d8da24 | |
| parent | cc9f791e8b441e6282293d0497da59e2f11ea800 (diff) | |
| download | gentoolkit-1f115e0d7054285969f765941d1a07a98317d186.tar.gz | |
Fix find_world_packages() to be able to open the world file
svn path=/; revision=339
| -rw-r--r-- | trunk/src/gentoolkit/helpers.py | 4 |
1 files 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 <karltk@gentoo.org> # 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 = [] |
