projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab387fc
)
BlockerCache: use _unicode() for pickled atoms
author
Zac Medico
<zmedico@gentoo.org>
Mon, 14 May 2012 06:28:41 +0000
(23:28 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 14 May 2012 06:28:41 +0000
(23:28 -0700)
pym/_emerge/BlockerCache.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/BlockerCache.py
b/pym/_emerge/BlockerCache.py
index 3ec63ced5dd61b2ea727c176154b93ac5a879edd..fce81f83abfdea15e63d69942e79d27d136cea94 100644
(file)
--- a/
pym/_emerge/BlockerCache.py
+++ b/
pym/_emerge/BlockerCache.py
@@
-162,8
+162,8
@@
class BlockerCache(portage.cache.mappings.MutableMapping):
@param blocker_data: An object with counter and atoms attributes.
@type blocker_data: BlockerData
"""
- self._cache_data["blockers"][_unicode(cpv)] =
\
-
(blocker_data.counter, tuple(str
(x) for x in blocker_data.atoms))
+ self._cache_data["blockers"][_unicode(cpv)] =
(blocker_data.counter,
+
tuple(_unicode
(x) for x in blocker_data.atoms))
self._modified.add(cpv)
def __iter__(self):