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
|
return lines
|
||||||
|
|
||||||
def _test_if_valid_line(line):
|
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:
|
for pattern in ignore_patterns:
|
||||||
if not line or pattern in line:
|
if not line or pattern in line:
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue