munkireport_parser.py
def determine_acknowledgement(record, report, ignore_string):
    """Mark report for output unless ignored"""
    if record[COMMENT_TEXT]:
        comment = record[COMMENT_TEXT].lower()
    else:
        comment = ""
    if ignore_string in comment:
        report["should"] = False
        return True

    report["should"] = True
    return False
Mark report for output unless ignored
Mark report for output unless ignored
Mark report for output unless ignored
def determine_acknowledgement(record, report, ignore_string):
    if record[COMMENT_TEXT]:
        comment = record[COMMENT_TEXT].lower()
    else:
        comment = ""
    if ignore_string in comment:
        report["should"] = False
        return True
    report["should"] = True
    return False
def determine_acknowledgement ( record , report , ignore_string ) : if record [ COMMENT_TEXT ] : comment = record [ COMMENT_TEXT ] . lower ( ) else : comment = "" if ignore_string in comment : report [ "should" ] = False return True report [ "should" ] = True return False
Mark report for output unless ignored
Mark report for output unless ignored
"""Mark report for output unless ignored"""
record
report
ignore_string