projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc9f791
)
Fix find_world_packages() to be able to open the world file
author
fuzzyray
<fuzzyray@gentoo.org>
Fri, 12 Jan 2007 00:09:12 +0000
(
00:09
-0000)
committer
fuzzyray
<fuzzyray@gentoo.org>
Fri, 12 Jan 2007 00:09:12 +0000
(
00:09
-0000)
svn path=/; revision=339
trunk/src/gentoolkit/helpers.py
patch
|
blob
|
history
diff --git
a/trunk/src/gentoolkit/helpers.py
b/trunk/src/gentoolkit/helpers.py
index fa4689f320bab0a411a4981136119ee38e039940..3fa32d1d0a4c1a15c5bc797a08e702b62723f4b7 100644
(file)
--- 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 = []