check_hpacucli: ignore hpacucli output that starts with "Note:"

This commit is contained in:
Pall Sigurdsson 2013-05-27 16:17:23 +00:00
parent 5a49b22a10
commit 3cf6cb7f2d
1 changed files with 1 additions and 0 deletions

View File

@ -173,6 +173,7 @@ def run_hpacucli(type='controllers', controller=None):
for i in output:
if len(i) == 0: continue
if i.strip() == '': continue
if i.startswith('Note:'): continue
if type=='controllers' and i[0] != ' ': # No space on first line
if object and not object in objects: objects.append(object)
object = {}