Line 1936 or portage.py reads: - mykey=virts_p(myp) when it should be: + mykey=virts_p[myp]
Fixed in Portage 2.0.4