From f5de5001b78e75011320e8ab6e6c9ddd7913f4f9 Mon Sep 17 00:00:00 2001 From: papoteur-mga Date: Wed, 17 Sep 2014 22:32:39 +0200 Subject: Correction : the renaming did not work for files. --- mageiasync/mageiaSyncExt.py | 4 +--- 1 file changed, 1 insertion(+), 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) -- cgit v1.2.1