projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
faa536f
)
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>
Wed, 25 May 2011 04:07:31 +0000
(21:07 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 5aec973ebaba164e9feeee370167b780cfe9da5a..e29d70e20ee798097b06e97f602731c19611983f 100644
(file)
--- 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)