fixed up repo_work

This commit is contained in:
2021-05-26 12:19:16 +02:00
parent 340e97d4bb
commit d8dfce570f

View File

@@ -116,7 +116,6 @@ def do_repo_work():
logging.debug("[REPO-ADD] %s", r_res.stdout.decode())
if r_res.returncode:
logging.error("[%s] Repo action failed: %s", repo, r_res.stdout.decode())
return
p_res = subprocess.run(
["paccache", "-rc", os.path.join(config["basedir"]["repo"], repo, "os", config["arch"]), "-k", "1"],
@@ -124,7 +123,7 @@ def do_repo_work():
logging.debug("[PACCACHE] %s", p_res.stdout.decode())
if p_res.returncode:
logging.error("[%s] Repo cleanup failed: %s", repo, p_res.stdout.decode())
return
to_add[repo].clear()
def already_running() -> bool: