QScintilla/Exporters/ExporterHTML.py

branch
Py2 comp.
changeset 3060
5883ce99ee12
parent 3057
10516539f238
parent 3039
8dd0165d805d
child 3145
a9de05d4a22f
--- a/QScintilla/Exporters/ExporterHTML.py	Fri Nov 01 15:48:48 2013 +0100
+++ b/QScintilla/Exporters/ExporterHTML.py	Sun Nov 03 15:58:22 2013 +0100
@@ -125,7 +125,7 @@
         if lex:
             istyle = 0
             while istyle <= QsciScintilla.STYLE_MAX:
-                if (istyle <= QsciScintilla.STYLE_DEFAULT or \
+                if (istyle <= QsciScintilla.STYLE_DEFAULT or
                     istyle > QsciScintilla.STYLE_LASTPREDEFINED) and \
                    styleIsUsed[istyle]:
                     if lex.description(istyle) or \
@@ -409,7 +409,7 @@
                     self.trUtf8("Export source"),
                     self.trUtf8(
                         """<p>The source could not be exported to"""
-                        """ <b>{0}</b>.</p><p>Reason: {1}</p>""")\
-                        .format(filename, str(err)))
+                        """ <b>{0}</b>.</p><p>Reason: {1}</p>""")
+                    .format(filename, str(err)))
         finally:
             QApplication.restoreOverrideCursor()

eric ide

mercurial