projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a68bf5
)
Add back cpv_exists check from previous commit.
author
Zac Medico
<zmedico@gentoo.org>
Sun, 8 May 2011 20:46:40 +0000
(13:46 -0700)
committer
Zac Medico
<zmedico@gentoo.org>
Sun, 8 May 2011 20:46:40 +0000
(13:46 -0700)
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index b4e231e550e9adafa9a8366ca6a94d3727ffb5a2..a34f1ec017ab83e4deae071f90dfc21a01668863 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-1485,6
+1485,8
@@
class dblink(object):
if cpv_lib_map:
self._remove_preserved_libs(cpv_lib_map)
for cpv, removed in cpv_lib_map.items():
+ if not self.vartree.dbapi.cpv_exists(cpv):
+ continue
self.vartree.dbapi.removeFromContents(cpv, removed)
if unmerge: