mailr15597 - /1.3/multi/commands.py


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

Header


Content

Posted by edward on March 22, 2012 - 08:57:
Author: bugman
Date: Thu Mar 22 08:57:55 2012
New Revision: 15597

URL: http://svn.gna.org/viewcvs/relax?rev=15597&view=rev
Log:
Eliminated the unused Set_processor_property_command class.


Modified:
    1.3/multi/commands.py

Modified: 1.3/multi/commands.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/multi/commands.py?rev=15597&r1=15596&r2=15597&view=diff
==============================================================================
--- 1.3/multi/commands.py (original)
+++ 1.3/multi/commands.py Thu Mar 22 08:57:55 2012
@@ -48,21 +48,3 @@
 
         # Then set the flag.
         processor.do_quit = True
-
-
-
-class Set_processor_property_command(Slave_command):
-    def __init__(self, property_map):
-        # Execute the base class __init__() method.
-        super(Set_processor_property_command, self).__init__()
-
-        self.property_map = property_map
-
-
-    def run(self, processor, completed):
-        for property, value in list(self.property_map.items()):
-            try:
-                setattr(processor, property, value)
-                processor.return_object(processor.NULL_RESULT)
-            except Exception, e:
-                processor.return_object(e)




Related Messages


Powered by MHonArc, Updated Thu Mar 22 09:20:02 2012