mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-02-20 20:09:11 +00:00
Utils/Android: Fix missing space in check
Logcat entries are split on a ':' followed by a space so ensure this is present in the line instead of just a ':'. Some devices have entires without the trailing space causing an error.
This commit is contained in:
parent
d7da24eb52
commit
bc5b43df30
@ -44,7 +44,7 @@ class LogcatParser(object):
|
||||
|
||||
def parse_line(self, line):
|
||||
line = line.strip()
|
||||
if not line or line.startswith('-') or ':' not in line:
|
||||
if not line or line.startswith('-') or ': ' not in line:
|
||||
return None
|
||||
|
||||
metadata, message = line.split(': ', 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user