#NEWLINE# def _convert_to_dict( stdout ) : #NEWLINE# #INDENT# 'Wrapper function for parsing hpssacli command.\n\n    This function gets the output from hpssacli command\n    and calls the recursive function _get_dict to return\n    the complete dictionary containing the RAID information.\n    ' #NEWLINE# lines = stdout . split ( '\n' ) #NEWLINE# lines = list ( filter ( None , lines ) ) #NEWLINE# ( info_dict , j ) = _get_dict ( lines , 0 , 0 ) #NEWLINE# return info_dict