scripts/support/update_wiki_redirects.py
def check_family_into_svn(dest_dir, onlydesc=None):
    """
    Check family back to SVN repo using rfci

    :param dest_dir:
    :return: void
    """

    os.chdir(dest_dir)

    # list all family directories
    family_dirs = [x for x in os.listdir(dest_dir) if x.find('RF') != -1]

    for family in family_dirs:
        if onlydesc is None:
            cmd = "rfci -m /'Updated WK in DESC/' %s" % family
        else:
            cmd = "rfci -onlydesc -m /'Updated WK in DESC/' %s" % family

        subprocess.call(cmd, shell=True)

    Check family back to SVN repo using rfci

    :param dest_dir:
    :return: void
    
Check family back to SVN repo using rfci
Check family back to SVN repo using rfci
def check_family_into_svn(dest_dir, onlydesc=None):
    os.chdir(dest_dir)
    family_dirs = [x for x in os.listdir(dest_dir) if x.find('RF') != -1]
    for family in family_dirs:
        if onlydesc is None:
            cmd = "rfci -m /'Updated WK in DESC/' %s" % family
        else:
            cmd = "rfci -onlydesc -m /'Updated WK in DESC/' %s" % family
        subprocess.call(cmd, shell=True)
def check_family_into_svn ( dest_dir , onlydesc = None ) : os . chdir ( dest_dir ) family_dirs = [ x for x in os . listdir ( dest_dir ) if x . find ( 'RF' ) != - 1 ] for family in family_dirs : if onlydesc is None : cmd = "rfci -m /'Updated WK in DESC/' %s" % family else : cmd = "rfci -onlydesc -m /'Updated WK in DESC/' %s" % family subprocess . call ( cmd , shell = True )
Check family back to SVN repo using rfci
Check family back to SVN repo using rfci
"""
    Check family back to SVN repo using rfci

    :param dest_dir:
    :return: void
    """ # list all family directories
None
dest_dir
None
onlydesc