Mon, 25 Mar 2013 10:29:59 +0100
Fixed a few PEP-8 related issues.
Project/Project.py | file | annotate | diff | comparison | revisions | |
QScintilla/QsciScintillaCompat.py | file | annotate | diff | comparison | revisions |
--- a/Project/Project.py Mon Mar 25 10:11:01 2013 +0100 +++ b/Project/Project.py Mon Mar 25 10:29:59 2013 +0100 @@ -4249,7 +4249,7 @@ newline = self.getEolString() pkglistFile = open(pkglist, "w", encoding="utf-8", newline=newline) pkglistFile.write("\n".join(lst)) - pkglistFile.write("\n") # ensure the file ends with an empty line + pkglistFile.write("\n") # ensure the file ends with an empty line pkglistFile.close() except IOError as why: E5MessageBox.critical(self.ui,
--- a/QScintilla/QsciScintillaCompat.py Mon Mar 25 10:11:01 2013 +0100 +++ b/QScintilla/QsciScintillaCompat.py Mon Mar 25 10:29:59 2013 +0100 @@ -110,9 +110,9 @@ for style in rangeLow + rangeHigh: self.SendScintilla(QsciScintilla.SCI_STYLESETFONT, style, f) self.SendScintilla(QsciScintilla.SCI_STYLESETSIZE, style, ps) - self.SendScintilla(QsciScintilla.SCI_STYLESETWEIGHT, style, weight); - self.SendScintilla(QsciScintilla.SCI_STYLESETITALIC, style, italic); - self.SendScintilla(QsciScintilla.SCI_STYLESETUNDERLINE, style, underline); + self.SendScintilla(QsciScintilla.SCI_STYLESETWEIGHT, style, weight) + self.SendScintilla(QsciScintilla.SCI_STYLESETITALIC, style, italic) + self.SendScintilla(QsciScintilla.SCI_STYLESETUNDERLINE, style, underline) def linesOnScreen(self): """