From f932a5fcf6fcc7df65878901b2ced99021dd3ae2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 6 Apr 2018 23:19:57 +0100 Subject: adjust to backend changes --- src/frontend/gui/sisyphus-gui.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index 86ded41..ef19995 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -373,14 +373,14 @@ class MainWorker(QtCore.QObject): self.started.emit() pkgList = Sisyphus.pkgList syncAll() - makeLocalPkgCSVpre() + makeLocalDatabaseCSVpre() portageExec = subprocess.Popen( ['emerge', '-q'] + pkgList, stdout=subprocess.PIPE) atexit.register(portageKill, portageExec) for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): self.strReady.emit(portageOutput.rstrip()) - makeLocalPkgCSVpost() - syncLocalPkgTable() + makeLocalDatabaseCSVpost() + syncLocalDatabaseTable() self.finished.emit() @QtCore.pyqtSlot() @@ -388,42 +388,42 @@ class MainWorker(QtCore.QObject): self.started.emit() pkgList = Sisyphus.pkgList syncAll() - makeLocalPkgCSVpre() + makeLocalDatabaseCSVpre() portageExec = subprocess.Popen( ['emerge', '--depclean', '-q'] + pkgList, stdout=subprocess.PIPE) atexit.register(portageKill, portageExec) for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): self.strReady.emit(portageOutput.rstrip()) - makeLocalPkgCSVpost() - syncLocalPkgTable() + makeLocalDatabaseCSVpost() + syncLocalDatabaseTable() self.finished.emit() @QtCore.pyqtSlot() def startUpgrade(self): self.started.emit() syncAll() - makeLocalPkgCSVpre() + makeLocalDatabaseCSVpre() portageExec = subprocess.Popen( ['emerge', '-uDNq', '--backtrack=100', '--with-bdeps=y', '@world'], stdout=subprocess.PIPE) atexit.register(portageKill, portageExec) for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): self.strReady.emit(portageOutput.rstrip()) - makeLocalPkgCSVpost() - syncLocalPkgTable() + makeLocalDatabaseCSVpost() + syncLocalDatabaseTable() self.finished.emit() @QtCore.pyqtSlot() def cleanOrphans(self): self.started.emit() syncAll() - makeLocalPkgCSVpre() + makeLocalDatabaseCSVpre() portageExec = subprocess.Popen( ['emerge', '--depclean', '-q'], stdout=subprocess.PIPE) atexit.register(portageKill, portageExec) for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): self.strReady.emit(portageOutput.rstrip()) - makeLocalPkgCSVpost() - syncLocalPkgTable() + makeLocalDatabaseCSVpost() + syncLocalDatabaseTable() self.finished.emit() -- cgit v1.2.3