From: Zac Medico Date: Mon, 14 May 2012 06:28:41 +0000 (-0700) Subject: BlockerCache: use _unicode() for pickled atoms X-Git-Tag: v2.2.0_alpha105~13 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2dc778ce4b8590fb57dcc59508b3babda8513c87;p=portage.git BlockerCache: use _unicode() for pickled atoms --- diff --git a/pym/_emerge/BlockerCache.py b/pym/_emerge/BlockerCache.py index 3ec63ced5..fce81f83a 100644 --- 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):