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 1QP5OI-0004CN-0k for garchives@archives.gentoo.org; Wed, 25 May 2011 04:08:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 769CE1C02B; Wed, 25 May 2011 04:08:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 436461C02B for ; Wed, 25 May 2011 04:08:06 +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 B34361B4027 for ; Wed, 25 May 2011 04:08:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 32FD580505 for ; Wed, 25 May 2011 04:08:05 +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: Subject: [gentoo-commits] proj/portage:master 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: d755309c28a03302e4906a3375187d3f23154d43 Date: Wed, 25 May 2011 04:08:05 +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: baca20a31ae799c6c20b47182dd95d99 commit: d755309c28a03302e4906a3375187d3f23154d43 Author: Zac Medico gentoo org> AuthorDate: Wed May 25 04:07:31 2011 +0000 Commit: Zac Medico gentoo org> CommitDate: Wed May 25 04:07:31 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Dd755309c 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 5aec973..e29d70e 100644 --- a/pym/portage/dbapi/vartree.py +++ b/pym/portage/dbapi/vartree.py @@ -1783,8 +1783,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 phase =3D EbuildPhase(background=3Dbackground, phase=3D"cleanrm", scheduler=3Dscheduler, settings=3Dself.settings)