def new_csv()

in fiosynth_lib/flash_config.py [0:0]


def new_csv(f):
    try:
        col_names = []
        col_names = [
            "Index",
            "DevicePath",
            "Capacity",
            "ModelNumber",
            "SerialNumber",
            "Firmware",
            "Hostname",
            "KernelVersion",
        ]
        writer = csv.writer(f)
        writer.writerow((col_names))
    except IOError:
        print("cannot write to ", f)
        f.close()
        sys.exit(1)