def patch_lustre_path(f_path):
    """Patch any 60-character pathnames, to avoid a current Lustre bug."""

    if CHECK_LUSTRE_PATH_LEN and len(f_path) == 60:
        if os.path.isabs(f_path):
            f_path = '/.' + f_path
        else:
            f_path = './' + f_path

    return f_path
def patch_lustre_path ( f_path ) : if CHECK_LUSTRE_PATH_LEN and len ( f_path ) == 60 : if os . path . isabs ( f_path ) : f_path = '/.' + f_path else : f_path = './' + f_path return f_path
Patch any 60-character pathnames, to avoid a current Lustre bug.