From 8663ed551d28e1c1fb0bc3353c98e6c3dacd7227 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sun, 8 May 2016 18:25:08 +0200 Subject: Clean code --- mageiaSync/mageiaSyncExt.py | 4 ---- mageiaSync/mageiasync.py | 3 --- 2 files changed, 7 deletions(-) (limited to 'mageiaSync') diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py index c3120b4..5c7f053 100644 --- a/mageiaSync/mageiaSyncExt.py +++ b/mageiaSync/mageiaSyncExt.py @@ -101,10 +101,6 @@ class checkThread(QThread): self.checkStartSignal.emit(signal) checkSha=self.processSum('sha512') self.sha1Signal.emit(self.isoIndex+128*checkSha) -# signal=300+self.isoIndex -# self.checkStartSignal.emit(signal) -# checkDate=self.processDate() -# self.dateSignal.emit(self.isoIndex+128*checkDate) self.quit() diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py index d5fd11f..cc060d9 100644 --- a/mageiaSync/mageiasync.py +++ b/mageiaSync/mageiasync.py @@ -223,7 +223,6 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow): remoteRow = isoIndex.row() path = self.modelRemote.data(self.modelRemote.index(remoteRow,0)) name = self.modelRemote.data(self.modelRemote.index(remoteRow,1)) - print(remoteRow,path,name) try: # Look for ISO in local list item=self.model.findItems(name,QtCore.Qt.MatchExactly,1)[0] @@ -234,7 +233,6 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow): basedir.mkdir(path) item=self.model.findItems(name,QtCore.Qt.MatchExactly,1)[0] row=self.model.indexFromItem(item).row() - print(self.model.data(self.model.index(row,0)), row) self.checks(row) def checks(self,isoIndex): @@ -362,7 +360,6 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow): params.setValue("bwl",str(self.bwl)) else: pass -# answer=QDialogButtonBox(QDialogButtonBox.Ok) print(self.tr("the user must set values or default values")) self.pd.close() else: -- cgit v1.2.1