From a1196c12131c43e8d09005f288bbd71d1df770e0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 13 May 2012 17:46:44 -0700 Subject: portdbapi: don't convert _pkg_str to str --- pym/portage/dbapi/porttree.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 663b62dc3..c5ee7707b 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -869,7 +869,8 @@ class portdbapi(dbapi): xcache_this_level = self.xcache.get(level) if xcache_this_level is not None: xcache_this_level[cache_key] = myval - myval = myval[:] + if not isinstance(myval, _pkg_str): + myval = myval[:] return myval -- cgit v1.2.3-1-g7c22