diff options
author | Zac Medico <zmedico@gentoo.org> | 2007-01-12 06:18:13 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2007-01-12 06:18:13 +0000 |
commit | 6dffe1fe9d65ff249c41bb782a691bddac84f887 (patch) | |
tree | 5b5a46713507ad9b54946f2e55dc1db287ff9f03 | |
parent | 3241f5b53d022a9e1bbeb925a0100504ef76000f (diff) | |
download | portage-6dffe1fe9d65ff249c41bb782a691bddac84f887.tar.gz portage-6dffe1fe9d65ff249c41bb782a691bddac84f887.tar.bz2 portage-6dffe1fe9d65ff249c41bb782a691bddac84f887.zip |
Fix incremental virtuals code for the new stricter catpkgsplit behavior.
svn path=/main/trunk/; revision=5592
-rw-r--r-- | pym/portage.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py index 317b22003..00303a45d 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -1963,7 +1963,11 @@ class config: continue myvalues = virtuals_dict[k] for x in myvalues: - if not isvalidatom(x): + myatom = x + if x.startswith("-"): + # allow incrementals + myatom = x[1:] + if not isvalidatom(myatom): writemsg("--- Invalid atom in %s: %s\n" % \ (virtuals_file, x), noiselevel=-1) myvalues.remove(x) |