mailr15388 - /1.3/multi/multi_processor_base.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on February 28, 2012 - 14:43:
Author: bugman
Date: Tue Feb 28 14:43:44 2012
New Revision: 15388

URL: http://svn.gna.org/viewcvs/relax?rev=15388&view=rev
Log:
Bug fix for the multi-processor package.

The 2to3 conversion had created code which was not functional on Python2.  
This should not have
happened!


Modified:
    1.3/multi/multi_processor_base.py

Modified: 1.3/multi/multi_processor_base.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/multi/multi_processor_base.py?rev=15388&r1=15387&r2=15388&view=diff
==============================================================================
--- 1.3/multi/multi_processor_base.py (original)
+++ 1.3/multi/multi_processor_base.py Tue Feb 28 14:43:44 2012
@@ -257,7 +257,7 @@
             self.assert_on_master()
 
             running_set = set()
-            idle_set = {i for i in range(1, self.processor_size()+1)}
+            idle_set = set([i for i in range(1, self.processor_size()+1)])
 
             if self.threaded_result_processing:
                 result_queue = Threaded_result_queue(self)




Related Messages


Powered by MHonArc, Updated Tue Feb 28 16:00:02 2012