diff options
-rw-r--r-- | pym/portage/dbapi/porttree.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |