1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-09-02 03:12:34 +01:00

I lint, therefore I am

Implement fixes for the most recent pylint version.
This commit is contained in:
Sergei Trofimov
2018-07-09 15:28:22 +01:00
committed by Marc Bonnici
parent 0e0d4e0ff0
commit c410d2e1a1
22 changed files with 53 additions and 51 deletions

View File

@@ -193,9 +193,9 @@ class VellamoResultParser(HTMLParser):
self.failed = False
self.benchmarks = []
def feed(self, text):
def feed(self, data):
try:
HTMLParser.feed(self, text)
HTMLParser.feed(self, data)
except self.StopParsingException:
pass
@@ -230,3 +230,6 @@ class VellamoResultParser(HTMLParser):
self.benchmarks[-1].add_metric(data)
else:
self.failed = True
def error(self, message):
raise WorkloadError('Error parsing raw output: {}'.format(message))