Author: bugman Date: Tue Mar 16 01:52:03 2010 New Revision: 11008 URL: http://svn.gna.org/viewcvs/relax?rev=11008&view=rev Log: Fixes for some error messages in fetch_docstrings.py. This should have been writing to stderr, not sys! Modified: 1.3/docs/latex/fetch_docstrings.py Modified: 1.3/docs/latex/fetch_docstrings.py URL: http://svn.gna.org/viewcvs/relax/1.3/docs/latex/fetch_docstrings.py?rev=11008&r1=11007&r2=11008&view=diff ============================================================================== --- 1.3/docs/latex/fetch_docstrings.py (original) +++ 1.3/docs/latex/fetch_docstrings.py Tue Mar 16 01:52:03 2010 @@ -901,7 +901,7 @@ # Don't know what to do with this! if len(line_elements) > 2: - sys.write("Keyword failure in: " + repr(line) + " \n ") + sys.stderr.write("Keyword failure in: " + repr(line) + " \n ") sys.exit() # Format the keyword. @@ -1228,7 +1228,7 @@ # Not really a table! if num_col == 1: - sys.write('Not a table!') + sys.stderr.write('Not a table!') sys.exit() # Shift to the next line.