From 665e83018b7bcce3d9412c83d84c408ce8def256 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 24 May 2011 21:07:31 -0700 Subject: cleanrm: handle UnsupportedAPIException --- pym/portage/dbapi/vartree.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pym') diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 8fd5f5501..1db7d9e57 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 = 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 if scheduler is None: _spawn_phase("cleanrm", self.settings) else: -- cgit v1.2.3-1-g7c22