Helpviewer/HelpDocsInstaller.py

changeset 3034
7ce719013078
parent 3022
57179e4cdadd
child 3035
36e9f388958b
--- a/Helpviewer/HelpDocsInstaller.py	Sat Oct 19 12:28:12 2013 +0200
+++ b/Helpviewer/HelpDocsInstaller.py	Sat Oct 19 13:03:39 2013 +0200
@@ -111,7 +111,7 @@
         
         if version == 4:
             docsPath = QDir(
-                QLibraryInfo.location(QLibraryInfo.DocumentationPath) + \
+                QLibraryInfo.location(QLibraryInfo.DocumentationPath) +
                 QDir.separator() + "qch")
         elif version == 5:
             docsPath = QDir(
@@ -149,14 +149,14 @@
                     self.errorMessage.emit(
                         self.trUtf8(
                             """<p>The file <b>{0}</b> could not be"""
-                            """ registered. <br/>Reason: {1}</p>""")\
+                            """ registered. <br/>Reason: {1}</p>""")
                             .format(fi.absoluteFilePath, engine.error())
                     )
                     return False
                 
                 engine.setCustomValue(
                     versionKey,
-                    fi.lastModified().toString(Qt.ISODate) + '|' + \
+                    fi.lastModified().toString(Qt.ISODate) + '|' +
                     fi.absoluteFilePath())
                 return True
         
@@ -210,14 +210,14 @@
                     self.errorMessage.emit(
                         self.trUtf8(
                             """<p>The file <b>{0}</b> could not be"""
-                            """ registered. <br/>Reason: {1}</p>""")\
+                            """ registered. <br/>Reason: {1}</p>""")
                             .format(fi.absoluteFilePath, engine.error())
                     )
                     return False
                 
                 engine.setCustomValue(
                     versionKey,
-                    fi.lastModified().toString(Qt.ISODate) + '|' + \
+                    fi.lastModified().toString(Qt.ISODate) + '|' +
                     fi.absoluteFilePath())
                 return True
         

eric ide

mercurial