scripts/release/rethreshold_family.py
def check_rfsearch_log_success(family_dir):
    """
    Checks if the rfsearch.log file contains the success string # [ok] in
    order to mark the family as successfully completed.
    """

    rfsearch_log_file = os.path.join(family_dir, "rfsearch.log")
    process = Popen(['tail', '-1', rfsearch_log_file], stdin=PIPE, stdout=PIPE, stderr=PIPE)
    output, err = process.communicate()

    if output.find("# [ok]") == -1:
        return False

    return True

    Checks if the rfsearch.log file contains the success string # [ok] in
    order to mark the family as successfully completed.
    
Checks if the rfsearch.log file contains the success string # [ok] in
order to mark the family as successfully completed.
Checks if the rfsearch . log file contains the success string # [ ok ] in order to mark the family as successfully completed .
def check_rfsearch_log_success(family_dir):
    rfsearch_log_file = os.path.join(family_dir, "rfsearch.log")
    process = Popen(['tail', '-1', rfsearch_log_file], stdin=PIPE, stdout=PIPE, stderr=PIPE)
    output, err = process.communicate()
    if output.find("# [ok]") == -1:
        return False
    return True
def check_rfsearch_log_success ( family_dir ) : rfsearch_log_file = os . path . join ( family_dir , "rfsearch.log" ) process = Popen ( [ 'tail' , '-1' , rfsearch_log_file ] , stdin = PIPE , stdout = PIPE , stderr = PIPE ) output , err = process . communicate ( ) if output . find ( "# [ok]" ) == - 1 : return False return True
Checks if the rfsearch.log file contains the success string # [ok] in
order to mark the family as successfully completed.
Checks if the rfsearch . log file contains the success string # [ ok ] in order to mark the family as successfully completed .
"""
    Checks if the rfsearch.log file contains the success string # [ok] in
    order to mark the family as successfully completed.
    """
family_dir