From: Zac Medico Date: Fri, 12 Jan 2007 06:18:13 +0000 (-0000) Subject: Fix incremental virtuals code for the new stricter catpkgsplit behavior. X-Git-Tag: v2.1.2~39 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=6dffe1fe9d65ff249c41bb782a691bddac84f887;p=portage.git Fix incremental virtuals code for the new stricter catpkgsplit behavior. svn path=/main/trunk/; revision=5592 --- 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)