From 44f48531452bc55114161df8f33a0cd49c7d438c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 17 Sep 2022 21:53:32 +0100 Subject: fix Popen.communicate calls --- src/backend/upgradePkg.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/backend/upgradePkg.py') diff --git a/src/backend/upgradePkg.py b/src/backend/upgradePkg.py index 59b4572..c2176e9 100644 --- a/src/backend/upgradePkg.py +++ b/src/backend/upgradePkg.py @@ -49,7 +49,7 @@ def start(): if not "Calculating dependencies" in portageOutput.rstrip(): print(portageOutput.rstrip()) - stdout, stderr = portageExec.communicate() + portageExec.communicate() sisyphus.syncDatabase.syncLocal() else: sys.exit("\n" + "Ok; Quitting." + "\n") @@ -96,7 +96,7 @@ def startqt(): if not "Calculating dependencies" in portageOutput.rstrip(): print(portageOutput.rstrip()) - stdout, stderr = portageExec.communicate() + portageExec.communicate() sisyphus.syncDatabase.syncLocal() else: print("\n" + "No package upgrades found; Quitting." + "\n") -- cgit v1.2.3