mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-26 07:02:38 +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
@@ -72,10 +72,9 @@ class LogcatParser(object):
|
||||
tid = int(parts.pop(0))
|
||||
level = LogcatLogLevel.levels[log_level_map.index(parts.pop(0))]
|
||||
tag = (parts.pop(0) if parts else '').strip()
|
||||
except Exception as e:
|
||||
except Exception as e: # pylint: disable=broad-except
|
||||
message = 'Invalid metadata for line:\n\t{}\n\tgot: "{}"'
|
||||
logger.warning(message.format(line, e))
|
||||
return None
|
||||
|
||||
return LogcatEvent(timestamp, pid, tid, level, tag, message)
|
||||
|
||||
|
Reference in New Issue
Block a user