mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-10-31 23:22:14 +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:
@@ -44,7 +44,7 @@ class LogcatParser(object):
|
|||||||
|
|
||||||
def parse_line(self, line):
|
def parse_line(self, line):
|
||||||
line = line.strip()
|
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
|
return None
|
||||||
|
|
||||||
metadata, message = line.split(': ', 1)
|
metadata, message = line.split(': ', 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user