aboutsummaryrefslogtreecommitdiffstats
path: root/mageiaSync
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageialinux-online.org>2015-04-04 14:26:29 +0200
committerPapoteur <papoteur@mageialinux-online.org>2015-04-04 14:26:29 +0200
commit9bc9a35d7ac528e8d5953bda297c059ef6d17763 (patch)
treef3c690079f3832df4294efa018735450a26b35dd /mageiaSync
parent178fc5bdd696b08bcc6e47c5c02ccb8b60ce4a6c (diff)
downloadMageiaSync-9bc9a35d7ac528e8d5953bda297c059ef6d17763.tar
MageiaSync-9bc9a35d7ac528e8d5953bda297c059ef6d17763.tar.gz
MageiaSync-9bc9a35d7ac528e8d5953bda297c059ef6d17763.tar.bz2
MageiaSync-9bc9a35d7ac528e8d5953bda297c059ef6d17763.tar.xz
MageiaSync-9bc9a35d7ac528e8d5953bda297c059ef6d17763.zip
Not creating new line when checking
Diffstat (limited to 'mageiaSync')
-rw-r--r--mageiaSync/mageiasync.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/mageiaSync/mageiasync.py b/mageiaSync/mageiasync.py
index 06b7177..0f4f26b 100644
--- a/mageiaSync/mageiasync.py
+++ b/mageiaSync/mageiasync.py
@@ -505,11 +505,8 @@ class IsosViewer(QMainWindow, mageiaSyncUI.Ui_mainWindow):
# Look for ISO in local list
item=self.model.findItems(name,QtCore.Qt.MatchExactly,1)[0]
except:
- # Remote ISO is not yet in local directory. We add it in localList and create the directory
- self.localAdd(path,name,0)
- basedir=QtCore.QDir(self.destination)
- basedir.mkdir(path)
- item=self.model.findItems(name,QtCore.Qt.MatchExactly,1)[0]
+ # Remote ISO is not yet in local directory. We pass.
+ break
row=self.model.indexFromItem(item).row()
if self.location == "" :
self.nameWithPath='rsync://'+self.user+'@bcd.mageia.org/isos/'+self.release+'/'+path