def print_result(results, file_dict, retval, print_results, section, log_printer, file_diff_dict, ignore_ranges, console_printer):
 min_severity_str = str(section.get('min_severity', 'INFO')).upper()
 min_severity = RESULT_SEVERITY.str_dict.get(min_severity_str, 'INFO')
 results = list(filter((lambda result: ((type(result) is Result) and (result.severity >= min_severity) and (not check_result_ignore(result, ignore_ranges)))), results))
 patched_results = autoapply_actions(results, file_dict, file_diff_dict, section, log_printer)
 print_results(log_printer, section, patched_results, file_dict, file_diff_dict, console_printer)
 return ((retval or (len(results) > 0)), patched_results)

def print_result ( results , file_dict , retval , print_results , section , log_printer , file_diff_dict , ignore_ranges , console_printer ) : min_severity_str = str ( section . get ( 'min_severity' , 'INFO' ) ) . upper ( ) min_severity = RESULT_SEVERITY . str_dict . get ( min_severity_str , 'INFO' ) results = list ( filter ( ( lambda result : ( ( type ( result ) is Result ) and ( result . severity >= min_severity ) and ( not check_result_ignore ( result , ignore_ranges ) ) ) ) , results ) ) patched_results = autoapply_actions ( results , file_dict , file_diff_dict , section , log_printer ) print_results ( log_printer , section , patched_results , file_dict , file_diff_dict , console_printer ) return ( ( retval or ( len ( results ) > 0 ) ) , patched_results )
nicely print a single autotest result .