Author: bugman Date: Sat Jun 2 19:43:59 2012 New Revision: 16603 URL: http://svn.gna.org/viewcvs/relax?rev=16603&view=rev Log: The prompt UI table creation is now using the Table.spacing variable for adding empty lines between rows. Modified: branches/uf_redesign/prompt/uf_docstring.py Modified: branches/uf_redesign/prompt/uf_docstring.py URL: http://svn.gna.org/viewcvs/relax/branches/uf_redesign/prompt/uf_docstring.py?rev=16603&r1=16602&r2=16603&view=diff ============================================================================== --- branches/uf_redesign/prompt/uf_docstring.py (original) +++ branches/uf_redesign/prompt/uf_docstring.py Sat Jun 2 19:43:59 2012 @@ -89,13 +89,11 @@ return new -def create_table(label, spacing=True): +def create_table(label): """Format and return the table as text. @param label: The unique table label. @type label: str - @keyword spacing: A flag which if True will cause empty rows to be placed between elements. - @type spacing: bool @return: The formatted table. @rtype: str """ @@ -224,7 +222,7 @@ col_text[k][j] = lines[k] # Blank line (between rows when asked, and for the first row after the header). - if spacing or i == 1: + if table.spacing or i == 1: text += table_line(widths=new_widths) # The contents.