Hi Gary, It would have been better to commit these changes as two revisions. The modification to 'branches/multi_processor/multi/uni_processor.py', the removal of the unused import statement is not related to the keyword changes. Cheers, Edward On 3/30/07, garyt@xxxxxxxxxxxxxxx <garyt@xxxxxxxxxxxxxxx> wrote:
Author: varioustoxins Date: Fri Mar 30 11:26:11 2007 New Revision: 3254 URL: http://svn.gna.org/viewcvs/relax?rev=3254&view=rev Log: corrections to keyword passing to dict.update() Modified: branches/multi_processor/multi/commands.py branches/multi_processor/multi/uni_processor.py Modified: branches/multi_processor/multi/commands.py URL: http://svn.gna.org/viewcvs/relax/branches/multi_processor/multi/commands.py?rev=3254&r1=3253&r2=3254&view=diff ============================================================================== --- branches/multi_processor/multi/commands.py (original) +++ branches/multi_processor/multi/commands.py Fri Mar 30 11:26:11 2007 @@ -108,7 +108,7 @@ def set_mf(self, **kwargs): # note the creation of a dict prevents a bug in python 2.3.3 where # it complains update doesn't take keywords - self.mf_map.update(dict(**kwargs)) + self.mf_map.update(kwargs) def set_minimise(self,**kwargs): @@ -121,7 +121,7 @@ del kwargs['grid_size'] # note the creation of a dict prevents a bug in python 2.3.3 where # it complains update doesn't take keywords - self.minimise_map.update(dict(**kwargs)) + self.minimise_map.update(kwargs) def build_mf(self): return Mf(**self.mf_map) Modified: branches/multi_processor/multi/uni_processor.py URL: http://svn.gna.org/viewcvs/relax/branches/multi_processor/multi/uni_processor.py?rev=3254&r1=3253&r2=3254&view=diff ============================================================================== --- branches/multi_processor/multi/uni_processor.py (original) +++ branches/multi_processor/multi/uni_processor.py Fri Mar 30 11:26:11 2007 @@ -24,7 +24,6 @@ import threading, Queue import sys import multi -import time,datetime from multi.processor import Processor,Result_command,Result_string #class Processor(object): _______________________________________________ relax (http://nmr-relax.com) This is the relax-commits mailing list relax-commits@xxxxxxx To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-commits