projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd436e1
)
Make dblink.treewalk() properly delete the installed instance after
author
Zac Medico
<zmedico@gentoo.org>
Thu, 29 Nov 2007 00:50:07 +0000
(
00:50
-0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 29 Nov 2007 00:50:07 +0000
(
00:50
-0000)
it unmerges it.
svn path=/main/trunk/; revision=8737
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 5b64fd76a4954b4daef6b013dfd15948707e0564..ff2a1caf2796bbda574328e0f7a6c57b165bdd40 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-2029,6
+2029,8
@@
class dblink(object):
others_in_slot.remove(dblnk) # dblnk will unmerge itself now
dblnk.unmerge(trimworld=0, ldpath_mtimes=prev_mtimes,
others_in_slot=others_in_slot)
+ # TODO: Check status and abort if necessary.
+ dblnk.delete()
writemsg_stdout(">>> Original instance of package unmerged safely.\n")
break