Author: bugman Date: Fri Mar 23 17:18:39 2012 New Revision: 15619 URL: http://svn.gna.org/viewcvs/relax?rev=15619&view=rev Log: Fix for the Processor.data_upload() method. The self.run_command_queue() method is no longer being used. Instead the add_to_queue() method is being used to queue up the slave commands, and the run_queue() method is being called at the end to flush the queue. 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=15619&r1=15618&r2=15619&view=diff ============================================================================== --- 1.3/multi/processor.py (original) +++ 1.3/multi/processor.py Fri Mar 23 17:18:39 2012 @@ -256,7 +256,6 @@ rank_list = range(1, self.processor_size()+1) # Create the command list. - queue = [] for i in rank_list: # Create and append the command. command = Slave_storage_command() @@ -265,10 +264,10 @@ command.add(name, value) # Add the command to the queue. - queue.append(command) - - # Run the queue of data transfer commands. - self.run_command_queue(queue) + self.add_to_queue(command) + + # Flush the queue. + self.run_queue() def get_intro_string(self):