Some minor PEP8 fixes

This commit is contained in:
vBm 2014-07-29 13:56:31 +02:00 committed by Daniel Marjamäki
parent bbd91fcfd3
commit ef0a4e87cb
1 changed files with 10 additions and 9 deletions

View File

@ -189,6 +189,7 @@ HTML_FOOTER = """
HTML_ERROR = "<span class='error2'>&lt;--- %s</span>\n" HTML_ERROR = "<span class='error2'>&lt;--- %s</span>\n"
HTML_INCONCLUSIVE = "<span class='inconclusive2'>&lt;--- %s</span>\n" HTML_INCONCLUSIVE = "<span class='inconclusive2'>&lt;--- %s</span>\n"
class AnnotateCodeFormatter(HtmlFormatter): class AnnotateCodeFormatter(HtmlFormatter):
errors = [] errors = []
@ -218,7 +219,7 @@ class CppCheckHandler(XmlContentHandler):
XmlContentHandler.__init__(self) XmlContentHandler.__init__(self)
self.errors = [] self.errors = []
self.version = '1' self.version = '1'
self.versionCppcheck = ''; self.versionCppcheck = ''
def startElement(self, name, attributes): def startElement(self, name, attributes):
if name == 'results': if name == 'results':