aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2016-12-18 17:33:36 +0100
committerPapoteur <papoteur@mageialinux-online.org>2016-12-18 17:33:36 +0100
commit5d947a79411363a233a263901d9c65bda5301e2d (patch)
treecb747bea5c641c4e07602461dcae7d2182e0829a /mageiaSync
parent908f95f2726663b1cb012eb9d63aa9b154ce5767 (diff)
downloadMageiaSync-5d947a79411363a233a263901d9c65bda5301e2d.tar
MageiaSync-5d947a79411363a233a263901d9c65bda5301e2d.tar.gz
MageiaSync-5d947a79411363a233a263901d9c65bda5301e2d.tar.bz2
MageiaSync-5d947a79411363a233a263901d9c65bda5301e2d.tar.xz
MageiaSync-5d947a79411363a233a263901d9c65bda5301e2d.zip
Rename remaining sha1 in sha512
Diffstat (limited to 'mageiaSync')
-rw-r--r--mageiaSync/mageiaSyncExt.py4
-rw-r--r--mageiaSync/mageiasync.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py
index 23c5d3b..6bdc0bd 100644
--- a/mageiaSync/mageiaSyncExt.py
+++ b/mageiaSync/mageiaSyncExt.py
@@ -12,7 +12,7 @@ from PyQt5.QtCore import QDir, QFileInfo,pyqtSignal,QThread
class checkThread(QThread):
md5Signal = pyqtSignal(int)
- sha1Signal= pyqtSignal(int)
+ sha512Signal= pyqtSignal(int)
dateSignal=pyqtSignal(int)
sizeFinalSignal=pyqtSignal(int,str)
checkStartSignal=pyqtSignal(int)
@@ -81,7 +81,7 @@ class checkThread(QThread):
signal=300+self.isoIndex
self.checkStartSignal.emit(signal)
checkSha=self.processSum('sha512')
- self.sha1Signal.emit(self.isoIndex+checkSha)
+ self.sha512Signal.emit(self.isoIndex+checkSha)
self.quit()
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py
index c9c3fa6..64674e2 100644
--- a/mageiaSync/mageiasync.py
+++ b/mageiaSync/mageiasync.py
@@ -245,7 +245,7 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow):
self.model.data(self.model.index(isoIndex,1)),
isoIndex)
self.checkThreads[-1].md5Signal.connect(self.md5Check)
- self.checkThreads[-1].sha1Signal.connect(self.sha1Check)
+ self.checkThreads[-1].sha512Signal.connect(self.sha512Check)
# self.checkThreads[-1].dateSignal.connect(self.dateCheck)
self.checkThreads[-1].sizeFinalSignal.connect(self.sizeUpdate)
self.checkThreads[-1].checkStartSignal.connect(self.checkStart)
@@ -284,7 +284,7 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow):
self.lvMessage("MD5 Signature OK")
self.model.setData(self.model.index(row, 4, QtCore.QModelIndex()), val)
- def sha1Check(self,check):
+ def sha512Check(self,check):
verified=False
signed=True
if check>=128: