Author: bugman Date: Tue Aug 16 19:03:36 2011 New Revision: 14391 URL: http://svn.gna.org/viewcvs/relax?rev=14391&view=rev Log: Errors in the multi-processor slaves are now sent to sys.stderr. Modified: 1.3/multi/processor.py Modified: 1.3/multi/processor.py URL: http://svn.gna.org/viewcvs/relax/1.3/multi/processor.py?rev=14391&r1=14390&r2=14391&view=diff ============================================================================== --- 1.3/multi/processor.py (original) +++ 1.3/multi/processor.py Tue Aug 16 19:03:36 2011 @@ -1,6 +1,7 @@ ############################################################################### # # # Copyright (C) 2007 Gary S Thompson (https://gna.org/users/varioustoxins) # +# Copyright (C) 2011 Edward d'Auvergne # # # # This file is part of the program relax. # # # @@ -288,9 +289,10 @@ @type exception: Exception instance ''' - #TODO: should use stderr? - # note we print to __stdout__ as sys.stdout may be a wrapper we applied - traceback.print_exc(file=sys.__stdout__) + # Print the traceback. + traceback.print_exc(file=sys.stderr) + + # Stop the processor. processor.abort()