From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1STjRR-0006yW-KI for garchives@archives.gentoo.org; Mon, 14 May 2012 00:47:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93763E062D; Mon, 14 May 2012 00:47:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5C0B8E062D for ; Mon, 14 May 2012 00:47:00 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF0A61B4076 for ; Mon, 14 May 2012 00:46:59 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 80451E5429 for ; Mon, 14 May 2012 00:46:58 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1336956404.a1196c12131c43e8d09005f288bbd71d1df770e0.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/dbapi/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dbapi/porttree.py X-VCS-Directories: pym/portage/dbapi/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: a1196c12131c43e8d09005f288bbd71d1df770e0 X-VCS-Branch: master Date: Mon, 14 May 2012 00:46:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 06944db2-df6c-45e3-ace4-43fba15efd10 X-Archives-Hash: c002cd625de3090bf447a124e768922d commit: a1196c12131c43e8d09005f288bbd71d1df770e0 Author: Zac Medico gentoo org> AuthorDate: Mon May 14 00:46:44 2012 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon May 14 00:46:44 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Da1196c12 portdbapi: don't convert _pkg_str to str --- 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.p= y index 663b62d..c5ee770 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -869,7 +869,8 @@ class portdbapi(dbapi): xcache_this_level =3D self.xcache.get(level) if xcache_this_level is not None: xcache_this_level[cache_key] =3D myval - myval =3D myval[:] + if not isinstance(myval, _pkg_str): + myval =3D myval[:] =20 return myval =20