From: Zac Medico Date: Tue, 13 Jan 2009 22:21:08 +0000 (-0000) Subject: Bug #254860 - Add another missing str -> atom conversion inside X-Git-Tag: v2.2_rc22~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=025b1b33a30cdb89240d02ca17c5ee6a132152c7;p=portage.git Bug #254860 - Add another missing str -> atom conversion inside _expand_new_virtuals(). svn path=/main/trunk/; revision=12497 --- 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 = []