Merge pull request #254 from Solvik/fix/cle/hp-controller

fix: add space in ignore_patterns
This commit is contained in:
Cyril Levis 2022-12-02 12:30:40 +01:00 committed by GitHub
commit 778814b0a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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