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:
committed by
Marc Bonnici
parent
0e0d4e0ff0
commit
c410d2e1a1
@@ -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))
|
||||
|
Reference in New Issue
Block a user