From 9bc9a35d7ac528e8d5953bda297c059ef6d17763 Mon Sep 17 00:00:00 2001 From: Papoteur Date: Sat, 4 Apr 2015 14:26:29 +0200 Subject: Not creating new line when checking --- mageiaSync/mageiasync.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'mageiaSync') 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 -- cgit v1.2.1