Fixed an issue in the directory sync handler.

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

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 28 Jul 2013 13:43:11 +0200
changeset 2829
528d6b04e0be
parent 2827
9a7928798cfe
child 2831
05fcdce02b94

Fixed an issue in the directory sync handler.

Helpviewer/Sync/DirectorySyncHandler.py file | annotate | diff | comparison | revisions
--- a/Helpviewer/Sync/DirectorySyncHandler.py	Fri Jul 26 19:51:18 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