From 94113c65c8bfbd4edb442a08a4ef6b6a95f8a013 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 24 Dec 2024 22:39:38 +0000 Subject: rename some backend parts --- src/backend/sysclean.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/backend/sysclean.py') 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()) -- cgit v1.2.3