Author: bugman Date: Wed Feb 29 11:06:20 2012 New Revision: 15403 URL: http://svn.gna.org/viewcvs/relax?rev=15403&view=rev Log: Newline cleanup. 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=15403&r1=15402&r2=15403&view=diff ============================================================================== --- 1.3/multi/processor.py (original) +++ 1.3/multi/processor.py Wed Feb 29 11:06:20 2012 @@ -263,6 +263,7 @@ self.master.run() + class Capturing_exception(Exception): '''A wrapper exception for an exception captured on a slave processor. @@ -335,6 +336,7 @@ return result + class Memo(object): '''A memo of objects and data. @@ -352,6 +354,7 @@ @rtype: int ''' return id(self) + class Processor(object): @@ -725,6 +728,7 @@ return self.instance + class Result(object): '''A basic result object returned from a slave processor via return_object. @@ -778,6 +782,7 @@ '''The rank of the current processor, used in command scheduling on the master processor.''' + class Result_command(Result): '''A general result command - designed to be subclassed by users. @@ -814,6 +819,7 @@ pass + class Null_result_command(Result_command): '''An empty result command. @@ -826,6 +832,7 @@ super(Null_result_command, self).__init__(processor=processor, completed=completed) + class Result_exception(Result_command): '''Return and raise an exception from the salve processor.''' @@ -845,6 +852,7 @@ '''Raise the exception from the Slave_processor.''' raise self.exception + # TODO: make this a result_command @@ -870,6 +878,7 @@ super(Result_string, self).__init__(processor=processor, completed=completed) self.string = string + class Slave_command(object):