Print the RST table header. The header names are vertical.
(outfile, num_cols, header_names, title)
| 210 | |
| 211 | |
| 212 | def print_table_header(outfile, num_cols, header_names, title): |
| 213 | """ Print the RST table header. The header names are vertical. """ |
| 214 | print_table_divider(outfile, num_cols) |
| 215 | |
| 216 | line = '' |
| 217 | for name in header_names: |
| 218 | line += ' ' + name[0] |
| 219 | |
| 220 | print_table_row(outfile, title, line) |
| 221 | |
| 222 | for i in range(1, len(header_names[0])): |
| 223 | line = '' |
| 224 | for name in header_names: |
| 225 | line += ' ' + name[i] |
| 226 | |
| 227 | print_table_row(outfile, '', line) |
| 228 | |
| 229 | print_table_divider(outfile, num_cols) |
| 230 | |
| 231 | |
| 232 | def print_table_body(outfile, num_cols, ini_files, ini_data, default_features): |
no test coverage detected