summaryrefslogtreecommitdiffstats
path: root/pym/portage/__init__.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-01-14 03:57:29 +0000
committerZac Medico <zmedico@gentoo.org>2009-01-14 03:57:29 +0000
commit0a91a8ee6323762a1ebb3cd1757e4681a441d8fc (patch)
tree3b2fa7cc43bb4e1c3f30eab8a7c6d680a436686b /pym/portage/__init__.py
parent82001426fe423b57f709c418c8e03d1fdce8e1b1 (diff)
downloadportage-0a91a8ee6323762a1ebb3cd1757e4681a441d8fc.tar.gz
portage-0a91a8ee6323762a1ebb3cd1757e4681a441d8fc.tar.bz2
portage-0a91a8ee6323762a1ebb3cd1757e4681a441d8fc.zip
Bug #254860 - Add another missing str -> atom conversion inside
_expand_new_virtuals(). (trunk r12497) svn path=/main/branches/2.1.6/; revision=12507
Diffstat (limited to 'pym/portage/__init__.py')
-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 = []