From 6dffe1fe9d65ff249c41bb782a691bddac84f887 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 12 Jan 2007 06:18:13 +0000 Subject: Fix incremental virtuals code for the new stricter catpkgsplit behavior. svn path=/main/trunk/; revision=5592 --- pym/portage.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'pym/portage.py') 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) -- cgit v1.2.3-1-g7c22