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