def METHOD_NAME(line):
    ser = REG_COMMIT_UUID.search(line)
    if not ser:
        return
    LAST_COMMIT_UUID = ser.group()
    if REG_COMMIT_WAKE.search(line):
        ADDAX_JOBDICT_COMMIT[LAST_COMMIT_UUID] = {
            'stat' : 'R',
            'wake' : parse_timestamp(line),
            'done' : UNIXTIME,
        }
    elif ((LAST_COMMIT_UUID in ADDAX_JOBDICT_COMMIT) and REG_COMMIT_DONE.search(line)):
        ADDAX_JOBDICT_COMMIT[LAST_COMMIT_UUID]['stat'] = 'D'
        ADDAX_JOBDICT_COMMIT[LAST_COMMIT_UUID]['done'] = parse_timestamp(line)