(self, rows, summary)
Wrapper for prepare_output and print_table.
Wrapper for prepare_output and print_table.
Wrapper for prepare_output and print_table .
def prepare_and_print_table(self, rows, summary):
    """Wrapper for prepare_output and print_table."""
    if summary:
      rows = prepare_summary_table(rows)

    table = []
    for row in rows:
      row = self.prepare_output(row)
      table.append(row)
    self.print_table(table)
def prepare_and_print_table ( self , rows , summary ) : if summary : rows = prepare_summary_table ( rows ) table = [ ] for row in rows : row = self . prepare_output ( row ) table . append ( row ) self . print_table ( table )