aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync/mageiaSyncExt.py
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-02-28 09:53:57 +0100
committerPapoteur <papoteur@mageialinux-online.org>2015-02-28 09:53:57 +0100
commitc9286400167ccc4dbafda3ea01e42c538c3012f5 (patch)
tree029dac762c711c2c6908873be49cb9120f13df47 /mageiaSync/mageiaSyncExt.py
parent02321c5aa2f0134667fd1690108022870da0968a (diff)
downloadMageiaSync-c9286400167ccc4dbafda3ea01e42c538c3012f5.tar
MageiaSync-c9286400167ccc4dbafda3ea01e42c538c3012f5.tar.gz
MageiaSync-c9286400167ccc4dbafda3ea01e42c538c3012f5.tar.bz2
MageiaSync-c9286400167ccc4dbafda3ea01e42c538c3012f5.tar.xz
MageiaSync-c9286400167ccc4dbafda3ea01e42c538c3012f5.zip
Correction of a bug on translation function in renaming.
Diffstat (limited to 'mageiaSync/mageiaSyncExt.py')
-rw-r--r--mageiaSync/mageiaSyncExt.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mageiaSync/mageiaSyncExt.py b/mageiaSync/mageiaSyncExt.py
index 8440d94..2bd2e87 100644
--- a/mageiaSync/mageiaSyncExt.py
+++ b/mageiaSync/mageiaSyncExt.py
@@ -212,9 +212,9 @@ def rename(directory,oldRelease,newRelease):
if process.returncode != None:
if process.returncode!=0:
item=process.stderr.readline().rstrip()
- return 'Error ', item
+ return 1, item
break
- return tr("Success in renaming")
+ return 0 #"Success in renaming"
class findIsos(QThread):
endSignal=pyqtSignal(int)