summaryrefslogtreecommitdiff
path: root/src/frontend/gui
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-04-06 23:19:57 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-04-06 23:19:57 +0100
commitf932a5fcf6fcc7df65878901b2ced99021dd3ae2 (patch)
tree3aa32df204bdfbbec0a6e0bf7c98421701975880 /src/frontend/gui
parent970ad8af97973bec2886086862a68541c96313e6 (diff)
adjust to backend changes
Diffstat (limited to 'src/frontend/gui')
-rwxr-xr-xsrc/frontend/gui/sisyphus-gui.py24
1 files 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()