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 1QPTyh-0003Zo-QJ for garchives@archives.gentoo.org; Thu, 26 May 2011 06:23:34 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20A1A1C52F; Thu, 26 May 2011 06:18:45 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id E55411C528 for ; Thu, 26 May 2011 06:18:44 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id AF2FC1B400E for ; Thu, 26 May 2011 06:18:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 214F480505 for ; Thu, 26 May 2011 06:18:44 +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: <665e83018b7bcce3d9412c83d84c408ce8def256.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:2.1.9 commit in: pym/portage/dbapi/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dbapi/vartree.py X-VCS-Directories: pym/portage/dbapi/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 665e83018b7bcce3d9412c83d84c408ce8def256 Date: Thu, 26 May 2011 06:18:44 +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: X-Archives-Hash: 97f4b21bc0131d5f9af05b70ea911b33 commit: 665e83018b7bcce3d9412c83d84c408ce8def256 Author: Zac Medico gentoo org> AuthorDate: Wed May 25 04:07:31 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Thu May 26 06:12:38 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D665e8301 cleanrm: handle UnsupportedAPIException --- pym/portage/dbapi/vartree.py | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 8fd5f55..1db7d9e 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1735,8 +1735,11 @@ class dblink(object): # even though it won't really be sourced. myebuildpath =3D os.path.join(self.dbdir, self.pkg + ".ebuild") - doebuild_environment(myebuildpath, "cleanrm", - settings=3Dself.settings, db=3Dself.vartree.dbapi) + try: + doebuild_environment(myebuildpath, "cleanrm", + settings=3Dself.settings, db=3Dself.vartree.dbapi) + except UnsupportedAPIException: + pass if scheduler is None: _spawn_phase("cleanrm", self.settings) else: