From dea81e59011f78b4e436f0404970c0fd1aa65808 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 29 Nov 2007 00:50:07 +0000 Subject: [PATCH] Make dblink.treewalk() properly delete the installed instance after it unmerges it. svn path=/main/trunk/; revision=8737 --- pym/portage/dbapi/vartree.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py index 5b64fd76a..ff2a1caf2 100644 --- 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 -- 2.26.2