Merge pull request #254 from Solvik/fix/cle/hp-controller
fix: add space in ignore_patterns
This commit is contained in:
commit
778814b0a1
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