[matter] drop workaround for broken sys-apps/portage's post_emerge(), not needed anymore

This commit is contained in:
Fabio Erculiani
2011-08-19 21:52:22 +02:00
parent 9f62fc8474
commit c64a0d19a0
-6
View File
@@ -951,14 +951,8 @@ class PackageBuilder(object):
print_info("package: %s, successfully built" % (cpv,))
pkg_queue.put(cpv)
# NOTE: this is a WORKAROUND for Portage's post_emerge() calling
# sys.exit() at the end.
# Fixed in Portage >=2.2_alpha50
sys_exit = sys.exit
sys.exit = lambda x: None
post_emerge(myaction, myopts, myfiles, emerge_settings["ROOT"],
emerge_trees, mtimedb, retval)
sys.exit = sys_exit
subprocess.call(["env-update"])
print_info("portage spawned, return value: %d" % (retval,))