aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)