From: <fwi...@us...> - 2006-03-12 20:22:27
|
Author: fwiemann Date: 2006-03-12 21:22:24 +0100 (Sun, 12 Mar 2006) New Revision: 4437 Modified: branches/directives/docutils/docutils/parsers/rst/directives/tables.py Log: removed dead code Modified: branches/directives/docutils/docutils/parsers/rst/directives/tables.py =================================================================== --- branches/directives/docutils/docutils/parsers/rst/directives/tables.py 2006-03-12 20:22:11 UTC (rev 4436) +++ branches/directives/docutils/docutils/parsers/rst/directives/tables.py 2006-03-12 20:22:24 UTC (rev 4437) @@ -415,13 +415,6 @@ else: num_cols = len(item[0]) col_widths = self.get_column_widths(num_cols) - if len(col_widths) != num_cols: - error = self.state_machine.reporter.error( - 'Error parsing "widths" option of the "%s" directive: ' - 'number of columns does not match the table data (%s vs %s).' - % (self.name, len(col_widths), num_cols), nodes.literal_block( - self.block_text, self.block_text), line=self.lineno) - raise SystemMessagePropagation(error) return num_cols, col_widths def build_table_from_list(self, table_data, col_widths, header_rows, stub_columns): |