aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpapoteur-mga <yves.brungard_git@gadz.org>2014-09-17 22:32:39 +0200
committerpapoteur-mga <yves.brungard_git@gadz.org>2014-09-17 22:32:39 +0200
commitf5de5001b78e75011320e8ab6e6c9ddd7913f4f9 (patch)
tree5714ea8f1376f5c125d216c0410902b55e0d0c56
parent2627bb9677ad496b0059980b0946c8af79c27f25 (diff)
downloadMageiaSync-f5de5001b78e75011320e8ab6e6c9ddd7913f4f9.tar
MageiaSync-f5de5001b78e75011320e8ab6e6c9ddd7913f4f9.tar.gz
MageiaSync-f5de5001b78e75011320e8ab6e6c9ddd7913f4f9.tar.bz2
MageiaSync-f5de5001b78e75011320e8ab6e6c9ddd7913f4f9.tar.xz
MageiaSync-f5de5001b78e75011320e8ab6e6c9ddd7913f4f9.zip
Correction : the renaming did not work for files.
-rw-r--r--mageiasync/mageiaSyncExt.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/mageiasync/mageiaSyncExt.py b/mageiasync/mageiaSyncExt.py
index 612dc04..95db0d8 100644
--- a/mageiasync/mageiaSyncExt.py
+++ b/mageiasync/mageiaSyncExt.py
@@ -205,15 +205,13 @@ def rename(directory,oldRelease,newRelease):
process.poll()
while True :
item=process.stdout.readline().rstrip()
- print item
process.poll()
if process.returncode != None:
if process.returncode!=0:
item=process.stderr.readline().rstrip()
return 'Error ', item
- else:
- return "Success"
break
+ return "Success in renaming"
class findIsos(QThread):
endSignal=pyqtSignal(int)