summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index cb6cdb6fa..b3e44002a 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -7561,7 +7561,7 @@ def _expand_new_virtuals(mysplit, edebug, mydbapi, mysettings, myroot="/",
if repoman:
# TODO: Add PROVIDE check for repoman.
for y in mychoices:
- a.append(portage.dep.Atom(x.replace(mykey, y, 1)))
+ a.append(portage.dep.Atom(x.replace(mykey, str(y.cp), 1)))
else:
for y in mychoices:
new_atom = portage.dep.Atom(