From 53daf8dec6740d6c04e4dd76dd36d1cc19093c27 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 24 May 2011 17:29:27 -0700 Subject: [PATCH] PackageUninstall: remove extra cat/pf var init Also, add to comments about ebuild-locks. --- pym/_emerge/PackageUninstall.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/PackageUninstall.py b/pym/_emerge/PackageUninstall.py index 41409ba93..aebf55e98 100644 --- a/pym/_emerge/PackageUninstall.py +++ b/pym/_emerge/PackageUninstall.py @@ -18,7 +18,8 @@ class PackageUninstall(CompositeTask): it is essential for the ebuild-locks code to execute in a subprocess, since the portage.locks module does not behave as desired if we try to lock the same file multiple times - concurrently from the same process. + concurrently from the same process for ebuild-locks phases + such as pkg_setup, pkg_prerm, and pkg_postrm. """ __slots__ = ("world_atom", "ldpath_mtimes", "opts", @@ -66,7 +67,6 @@ class PackageUninstall(CompositeTask): noiselevel=-1) self._emergelog("=== Unmerging... (%s)" % (self.pkg.cpv,)) - cat, pf = portage.catsplit(self.pkg.cpv) unmerge_task = MergeProcess( mycat=cat, mypkg=pf, settings=self.settings, treetype="vartree", vartree=self.pkg.root_config.trees["vartree"], -- 2.26.2