Fixed an issue in the directory sync handler. 5_3_x

Sun, 28 Jul 2013 13:43:11 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 28 Jul 2013 13:43:11 +0200
branch
5_3_x
changeset 2830
ae325578a418
parent 2828
cda4d060878d
child 2833
0c863d282509

Fixed an issue in the directory sync handler.
(grafted from 528d6b04e0bee27e42c416551323f05d77447325)

Helpviewer/Sync/DirectorySyncHandler.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/Sync/DirectorySyncHandler.py	Fri Jul 26 19:54:16 2013 +0200
+++ b/Helpviewer/Sync/DirectorySyncHandler.py	Sun Jul 28 13:43:11 2013 +0200
@@ -90,7 +90,7 @@
         except IOError as err:
             self.syncStatus.emit(type_,
                 self.trUtf8("Cannot read remote file.\n{0}").format(str(err)))
-            self.syncFinished(type_, False, True)
+            self.syncFinished.emit(type_, False, True)
             return
         
         QCoreApplication.processEvents()
@@ -111,7 +111,7 @@
         data = self.readFile(fileName, type_)
         if data.isEmpty():
             self.syncStatus.emit(type_, self._messages[type_]["LocalMissing"])
-            self.syncFinished(type_, False, False)
+            self.syncFinished.emit(type_, False, False)
             return
         else:
             try:
@@ -122,7 +122,7 @@
             except IOError as err:
                 self.syncStatus.emit(type_,
                     self.trUtf8("Cannot write remote file.\n{0}").format(str(err)))
-                self.syncFinished(type_, False, False)
+                self.syncFinished.emit(type_, False, False)
                 return
             
         self.syncFinished.emit(type_, True, False)

eric ide

mercurial