summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-05-24 17:29:27 -0700
committerZac Medico <zmedico@gentoo.org>2011-05-24 17:29:27 -0700
commit53daf8dec6740d6c04e4dd76dd36d1cc19093c27 (patch)
tree0f9334bd27bb24a33f73b58b89ff7b32dc6322e4 /pym
parent5181c9721add98ecb45d62f86c05fe59f1f35f40 (diff)
downloadportage-53daf8dec6740d6c04e4dd76dd36d1cc19093c27.tar.gz
portage-53daf8dec6740d6c04e4dd76dd36d1cc19093c27.tar.bz2
portage-53daf8dec6740d6c04e4dd76dd36d1cc19093c27.zip
PackageUninstall: remove extra cat/pf var init
Also, add to comments about ebuild-locks.
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/PackageUninstall.py4
1 files 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"],