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 2e33b330c..a64bbab61 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -6320,7 +6320,7 @@ def _expand_new_virtuals(mysplit, edebug, mydbapi, mysettings, myroot="/",
newsplit.append(x)
continue
if not pkgs and len(mychoices) == 1:
- newsplit.append(x.replace(mykey, mychoices[0]))
+ newsplit.append(portage.dep.Atom(x.replace(mykey, mychoices[0])))
continue
if isblocker:
a = []