fix: add space in ignore_patterns
to prevent false positive like `/data/cache/temp` for eg
This commit is contained in:
parent
ba0be73d3c
commit
e0685e7167
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ def ssacli(sub_command):
|
|||
return lines
|
||||
|
||||
def _test_if_valid_line(line):
|
||||
ignore_patterns = ['Note:', 'Error:', 'is not loaded', 'README', 'failure', 'cache']
|
||||
ignore_patterns = ['Note:', 'Error:', 'is not loaded', 'README', ' failure', ' cache']
|
||||
for pattern in ignore_patterns:
|
||||
if not line or pattern in line:
|
||||
return None
|
||||
|
|
Loading…
Reference in a new issue