summaryrefslogtreecommitdiff
path: root/src/backend/uninstallAll.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-30 14:37:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-10-30 14:37:38 +0000
commit1bb1eb3216267a8b9b1b9c25e163f76ba8072799 (patch)
tree1f433f1c2dd749f9fe71a149d917a0e7ffed0428 /src/backend/uninstallAll.py
parent9bb89285b638c1b2fb86a8d3234a176b5688009a (diff)
move killPortage -> killemerge
Diffstat (limited to 'src/backend/uninstallAll.py')
-rw-r--r--src/backend/uninstallAll.py4
1 files changed, 2 insertions, 2 deletions
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())