From: Zac Medico Date: Wed, 25 May 2011 04:07:31 +0000 (-0700) Subject: cleanrm: handle UnsupportedAPIException X-Git-Tag: v2.2.0_alpha36~8 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d755309c28a03302e4906a3375187d3f23154d43;p=portage.git cleanrm: handle UnsupportedAPIException --- diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 5aec973eb..e29d70e20 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 = os.path.join(self.dbdir, self.pkg + ".ebuild") - doebuild_environment(myebuildpath, "cleanrm", - settings=self.settings, db=self.vartree.dbapi) + try: + doebuild_environment(myebuildpath, "cleanrm", + settings=self.settings, db=self.vartree.dbapi) + except UnsupportedAPIException: + pass phase = EbuildPhase(background=background, phase="cleanrm", scheduler=scheduler, settings=self.settings)