projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7879445
)
Fix bug in _expand_new_virtuals() reported by Arfrever:
author
Zac Medico
<zmedico@gentoo.org>
Sat, 12 Sep 2009 21:24:44 +0000
(21:24 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Sat, 12 Sep 2009 21:24:44 +0000
(21:24 -0000)
TypeError: coercing to Unicode: need string or buffer, Atom found
svn path=/main/trunk/; revision=14237
pym/portage/__init__.py
patch
|
blob
|
history
diff --git
a/pym/portage/__init__.py
b/pym/portage/__init__.py
index cb6cdb6fa7d9985c068f8ccad4028ddac4d85782..b3e44002a0c216cecf862b022c7a45303994568d 100644
(file)
--- a/
pym/portage/__init__.py
+++ b/
pym/portage/__init__.py
@@
-7561,7
+7561,7
@@
def _expand_new_virtuals(mysplit, edebug, mydbapi, mysettings, myroot="/",
if repoman:
# TODO: Add PROVIDE check for repoman.
for y in mychoices:
- a.append(portage.dep.Atom(x.replace(mykey,
y
, 1)))
+ a.append(portage.dep.Atom(x.replace(mykey,
str(y.cp)
, 1)))
else:
for y in mychoices:
new_atom = portage.dep.Atom(