summaryrefslogtreecommitdiff
path: root/src/backend/sysclean.py
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-24 22:39:38 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-24 22:39:38 +0000
commit94113c65c8bfbd4edb442a08a4ef6b6a95f8a013 (patch)
tree6e5ed7c439750187f201a05cfd3b44c4d63d81b1 /src/backend/sysclean.py
parent86897731b3e7c41eb248f926495977919d8911ca (diff)
rename some backend partsHEADv6.2412.0nextmaster
Diffstat (limited to 'src/backend/sysclean.py')
-rw-r--r--src/backend/sysclean.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/sysclean.py b/src/backend/sysclean.py
index ee58db5..77fa370 100644
--- a/src/backend/sysclean.py
+++ b/src/backend/sysclean.py
@@ -11,9 +11,9 @@ import subprocess
import sys
import sisyphus.checkenv
import sisyphus.getclr
-import sisyphus.killemerge
-import sisyphus.solverevdeps
+import sisyphus.revdepsolve
import sisyphus.syncdb
+import sisyphus.watchdog
def set_nonblocking(fd):
@@ -51,9 +51,9 @@ def start(depclean=False, gfx_ui=False):
sys.exit()
else:
if gfx_ui:
- sisyphus.solverevdeps.start.__wrapped__(depclean=True)
+ sisyphus.revdepsolve.start.__wrapped__(depclean=True)
else:
- sisyphus.solverevdeps.start(depclean=True)
+ sisyphus.revdepsolve.start(depclean=True)
is_installed, is_needed, is_vague, rm_list = pickle.load(
open(os.path.join(sisyphus.getfs.p_mtd_dir, "sisyphus_pkgrevdeps.pickle"), "rb"))
@@ -62,7 +62,7 @@ def start(depclean=False, gfx_ui=False):
p_exe = subprocess.Popen(
['emerge'] + args, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
# kill portage if the program dies or it's terminated by the user
- atexit.register(sisyphus.killemerge.start, p_exe)
+ atexit.register(sisyphus.watchdog.start, p_exe)
for p_out in io.TextIOWrapper(p_exe.stdout, encoding="utf-8"):
print(p_out.rstrip())