コード例 #1
0
def generate_bugs_file(url, output_file_path, columns_to_keep):
    print("Requesting bugs list in CSV format from https://bugzilla.yoctoproject.org/...")
    csv_bug_list = request_bug_list(url)
    print("Parsing data...")
    data = parse_data(csv_bug_list, columns_to_keep)
    print("Building table...")
    table = tabularize(data)
    write_to_file(output_file_path, table)
コード例 #2
0
def generate_bugs_file(url, output_file_path, columns_to_keep):
    print "Requesting bugs list in CSV format from https://bugzilla.yoctoproject.org/..."
    csv_bug_list = request_bug_list(url)
    print "Parsing data..."
    data = parse_data(csv_bug_list, columns_to_keep)
    print "Building table..."
    table = tabularize(data)
    write_to_file(output_file_path, table)
コード例 #3
0
def write_tabular(out_dir, file, header, body):
    table = [header] + body
    write_inc_file(out_dir, file, tabularize([header] + body))
コード例 #4
0
def write_tabular(out_dir, file, header, body):
    table = [header] + body
    write_inc_file(out_dir, file, tabularize([header] + body))
コード例 #5
0
def process_machines_table(csv_table):
    return tabularize(csv_table)
コード例 #6
0
def process_machines_table(csv_table):
    return tabularize(csv_table)