From 1bb1eb3216267a8b9b1b9c25e163f76ba8072799 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 30 Oct 2022 14:37:38 +0000 Subject: move killPortage -> killemerge --- src/backend/uninstallAll.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/uninstallAll.py') diff --git a/src/backend/uninstallAll.py b/src/backend/uninstallAll.py index e5c336d..c7eea8c 100644 --- a/src/backend/uninstallAll.py +++ b/src/backend/uninstallAll.py @@ -5,7 +5,7 @@ import io import subprocess import sys import sisyphus.checkenv -import sisyphus.killPortage +import sisyphus.killemerge import sisyphus.syncDatabase def cliExec(pkgname): @@ -27,7 +27,7 @@ def cliExecForce(pkgname): def guiExec(pkgname): portageExec = subprocess.Popen(['emerge', '--depclean'] + pkgname, stdout=subprocess.PIPE, stderr=subprocess.PIPE) # kill portage if the program dies or it's terminated by the user - atexit.register(sisyphus.killPortage.cliExec, portageExec) + atexit.register(sisyphus.killemerge.cliExec, portageExec) for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): print(portageOutput.rstrip()) -- cgit v1.2.3