mailr3254 - in /branches/multi_processor/multi: commands.py uni_processor.py


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

Header


Content

Posted by garyt on March 30, 2007 - 11:26:
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):




Related Messages


Powered by MHonArc, Updated Sun Apr 01 00:00:27 2007