Author: bugman Date: Tue Feb 4 16:25:58 2014 New Revision: 22125 URL: http://svn.gna.org/viewcvs/relax?rev=22125&view=rev Log: Improvements for the devel_scripts/log_converter.py script - trailing whitespace is now stripped. Modified: trunk/devel_scripts/log_converter.py Modified: trunk/devel_scripts/log_converter.py URL: http://svn.gna.org/viewcvs/relax/trunk/devel_scripts/log_converter.py?rev=22125&r1=22124&r2=22125&view=diff ============================================================================== --- trunk/devel_scripts/log_converter.py (original) +++ trunk/devel_scripts/log_converter.py Tue Feb 4 16:25:58 2014 @@ -31,8 +31,8 @@ for line in lines: # The separator, so reinitialise everything. if search('^-----', line): - # First, print the old message. - print(" * " + msg) + # First, print the old message, removing trailing whitespace. + print(" * " + msg.rstrip()) # Reinitialise. msg = ''