projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6573647
)
cleanrm: handle UnsupportedAPIException
author
Zac Medico
<zmedico@gentoo.org>
Wed, 25 May 2011 04:07:31 +0000
(21:07 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 26 May 2011 06:12:38 +0000
(23:12 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 8fd5f5501af869bf224503bc24bc0a8bcd1707cc..1db7d9e579b9157baca58645087f03253a462708 100644
(file)
--- 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: