diff options
-rw-r--r-- | pym/portage/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/util.py b/pym/portage/util.py index 894ea44a0..a7c8a954a 100644 --- 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]), |