def row_formatter(row, qualifier='"'):

    """
    Format a row in a consistent way
    """

    output_row = []
    for item in row:
        if item is None:
            item = '""'
        else:
            item = qualifier + str(item) + qualifier
        output_row.append(item)

    return output_row