diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-04-05 11:25:39 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-04-05 11:25:39 +0100 |
commit | fe0a6e47ce7b3a92b298d64d7ea98dcd63cd86d0 (patch) | |
tree | e100233d348fbca5242140a9c4cd920981e6c414 /src/frontend/gui | |
parent | 5ba5c8b8efc9a381aff1e4e51f3c795786b25f9f (diff) |
convert all functions to camelcase
Diffstat (limited to 'src/frontend/gui')
-rwxr-xr-x | src/frontend/gui/sisyphus-gui.py | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/src/frontend/gui/sisyphus-gui.py b/src/frontend/gui/sisyphus-gui.py index f52592d..ef4d545 100755 --- a/src/frontend/gui/sisyphus-gui.py +++ b/src/frontend/gui/sisyphus-gui.py @@ -378,65 +378,65 @@ class MainWorker(QtCore.QObject): @QtCore.pyqtSlot() def startUpdate(self): self.started.emit() - sisyphus_pkg_system_update() + startUpdate() self.finished.emit() @QtCore.pyqtSlot() def startInstall(self): self.started.emit() pkgList = Sisyphus.pkgList - redcore_sync() - generate_sisyphus_local_packages_table_csv_pre() - portage_call = subprocess.Popen( + syncAll() + makeLocalPkgCSVpre() + portageExec = subprocess.Popen( ['emerge', '-q'] + pkgList, stdout=subprocess.PIPE) - atexit.register(kill_bg_portage, portage_call) - for portage_output in io.TextIOWrapper(portage_call.stdout, encoding="utf-8"): - self.strReady.emit(portage_output.rstrip()) - generate_sisyphus_local_packages_table_csv_post() - sync_sisyphus_local_packages_table_csv() + atexit.register(portageKill, portageExec) + for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): + self.strReady.emit(portageOutput.rstrip()) + makeLocalPkgCSVpost() + syncLocalPkgTable() self.finished.emit() @QtCore.pyqtSlot() def startUninstall(self): self.started.emit() pkgList = Sisyphus.pkgList - redcore_sync() - generate_sisyphus_local_packages_table_csv_pre() - portage_call = subprocess.Popen( + syncAll() + makeLocalPkgCSVpre() + portageExec = subprocess.Popen( ['emerge', '--depclean', '-q'] + pkgList, stdout=subprocess.PIPE) - atexit.register(kill_bg_portage, portage_call) - for portage_output in io.TextIOWrapper(portage_call.stdout, encoding="utf-8"): - self.strReady.emit(portage_output.rstrip()) - generate_sisyphus_local_packages_table_csv_post() - sync_sisyphus_local_packages_table_csv() + atexit.register(portageKill, portageExec) + for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): + self.strReady.emit(portageOutput.rstrip()) + makeLocalPkgCSVpost() + syncLocalPkgTable() self.finished.emit() @QtCore.pyqtSlot() def startUpgrade(self): self.started.emit() - redcore_sync() - generate_sisyphus_local_packages_table_csv_pre() - portage_call = subprocess.Popen( + syncAll() + makeLocalPkgCSVpre() + portageExec = subprocess.Popen( ['emerge', '-uDNq', '--backtrack=100', '--with-bdeps=y', '@world'], stdout=subprocess.PIPE) - atexit.register(kill_bg_portage, portage_call) - for portage_output in io.TextIOWrapper(portage_call.stdout, encoding="utf-8"): - self.strReady.emit(portage_output.rstrip()) - generate_sisyphus_local_packages_table_csv_post() - sync_sisyphus_local_packages_table_csv() + atexit.register(portageKill, portageExec) + for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): + self.strReady.emit(portageOutput.rstrip()) + makeLocalPkgCSVpost() + syncLocalPkgTable() self.finished.emit() @QtCore.pyqtSlot() def cleanOrphans(self): self.started.emit() - redcore_sync() - generate_sisyphus_local_packages_table_csv_pre() - portage_call = subprocess.Popen( + syncAll() + makeLocalPkgCSVpre() + portageExec = subprocess.Popen( ['emerge', '--depclean', '-q'], stdout=subprocess.PIPE) - atexit.register(kill_bg_portage, portage_call) - for portage_output in io.TextIOWrapper(portage_call.stdout, encoding="utf-8"): - self.strReady.emit(portage_output.rstrip()) - generate_sisyphus_local_packages_table_csv_post() - sync_sisyphus_local_packages_table_csv() + atexit.register(portageKill, portageExec) + for portageOutput in io.TextIOWrapper(portageExec.stdout, encoding="utf-8"): + self.strReady.emit(portageOutput.rstrip()) + makeLocalPkgCSVpost() + syncLocalPkgTable() self.finished.emit() |