Bug #254860 - Add another missing str -> atom conversion inside
authorZac Medico <zmedico@gentoo.org>
Tue, 13 Jan 2009 22:21:08 +0000 (22:21 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 13 Jan 2009 22:21:08 +0000 (22:21 -0000)
_expand_new_virtuals().

svn path=/main/trunk/; revision=12497

pym/portage/__init__.py

index 52dbd6baf194a96dc9220a63bc5337b79cace04e..33489ee11748e5c3aa0b457cfec3a0b36b24baad 100644 (file)
@@ -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 = []