aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync/mageiaSyncExt.py
diff options
context:
space:
mode:
authordaviddavid <geiger.david68210@gmail.com>2015-03-01 09:32:43 +0100
committerPapoteur <papoteur@mageialinux-online.org>2015-03-25 15:55:37 +0100
commitbd67303adf12e5be8f2caf1b18c842b5754272f6 (patch)
treec708d91f1d5ead61fe281bba0f6eb6f78e5b3930 /mageiaSync/mageiaSyncExt.py
parent67094f1b283010064e80fd22586b228c71d0b787 (diff)
downloadMageiaSync-bd67303adf12e5be8f2caf1b18c842b5754272f6.tar
MageiaSync-bd67303adf12e5be8f2caf1b18c842b5754272f6.tar.gz
MageiaSync-bd67303adf12e5be8f2caf1b18c842b5754272f6.tar.bz2
MageiaSync-bd67303adf12e5be8f2caf1b18c842b5754272f6.tar.xz
MageiaSync-bd67303adf12e5be8f2caf1b18c842b5754272f6.zip
New release 0.1.4
Sur la branche master Modifications qui seront validées : modifié : CHANGELOG Replace remote list with table view
Diffstat (limited to 'mageiaSync/mageiaSyncExt.py')
-rw-r--r--mageiaSync/mageiaSyncExt.py18
1 files changed, 10 insertions, 8 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py
index bf1a825..7ce29ce 100644
--- a/mageiaSync/mageiaSyncExt.py
+++ b/mageiaSync/mageiaSyncExt.py
@@ -79,18 +79,18 @@ class checkThread(QThread):
signal=200+self.isoIndex
isoSize=QFileInfo(str(self.destination)+'/'+self.path+'/' +self.name).size()
self.sizeFinalSignal.emit(signal, '{:,}'.format(isoSize).replace(',',' '))
- signal=500+self.isoIndex
+ signal=400+self.isoIndex
self.checkStartSignal.emit(signal)
checkMd5=self.processSum('md5')
self.md5Signal.emit(self.isoIndex+128*checkMd5)
- signal=400+self.isoIndex
+ signal=300+self.isoIndex
self.checkStartSignal.emit(signal)
checkSha1=self.processSum('sha1')
self.sha1Signal.emit(self.isoIndex+128*checkSha1)
- signal=300+self.isoIndex
- self.checkStartSignal.emit(signal)
- checkDate=self.processDate()
- self.dateSignal.emit(self.isoIndex+128*checkDate)
+# signal=300+self.isoIndex
+# self.checkStartSignal.emit(signal)
+# checkDate=self.processDate()
+# self.dateSignal.emit(self.isoIndex+128*checkDate)
self.quit()
@@ -278,8 +278,10 @@ class findIsos(QThread):
item=process.stdout.readline().rstrip().decode('unicode_escape')
self.lvM.emit(item)
if str(item.lower()).endswith('.iso') :
- words=item.split()
- self.list.append(words[-1])
+ words = item.split()
+ size = words[1]
+ date = words[2]+' '+ words[3]
+ self.list.append([size,date,words[-1]])
process.poll()
if process.returncode != None:
break