diff options
-rw-r--r-- | pym/portage/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 52dbd6baf..33489ee11 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -6333,7 +6333,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 = [] |