projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21ffad1
)
Fix from ferringb
author
Alec Warner
<antarus@gentoo.org>
Sun, 5 Aug 2007 21:30:50 +0000
(21:30 -0000)
committer
Alec Warner
<antarus@gentoo.org>
Sun, 5 Aug 2007 21:30:50 +0000
(21:30 -0000)
svn path=/main/trunk/; revision=7578
pym/portage/util.py
patch
|
blob
|
history
diff --git
a/pym/portage/util.py
b/pym/portage/util.py
index 894ea44a0ffb122b41da4bf313ef3a3ebf54fa1e..a7c8a954a39f66603c918c718a832a99e6e8d755 100644
(file)
--- a/
pym/portage/util.py
+++ b/
pym/portage/util.py
@@
-246,7
+246,7
@@
def grabfile_package(myfilename, compatlevel=0, recursive=0):
pkgs=grabfile(myfilename, compatlevel, recursive=recursive)
for x in range(len(pkgs)-1, -1, -1):
pkg = pkgs[x]
- if pkg[0] in
["-","*"]
: # -atom *pkg for packages file
+ if pkg[0] in
'-*'
: # -atom *pkg for packages file
pkg = pkg[1:]
if not isvalidatom(pkg):
writemsg("--- Invalid atom in %s: %s\n" % (myfilename, pkgs[x]),