mailr12420 - /branches/multi_processor_merge/relax


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

Header


Content

Posted by edward on January 21, 2011 - 16:08:
Author: bugman
Date: Fri Jan 21 16:08:28 2011
New Revision: 12420

URL: http://svn.gna.org/viewcvs/relax?rev=12420&view=rev
Log:
Shifted the relax warning system setup into the run() method as it can no 
longer be in __init__().

It requires the command line args, but these are processed after class 
initialisation in this branch.


Modified:
    branches/multi_processor_merge/relax

Modified: branches/multi_processor_merge/relax
URL: 
http://svn.gna.org/viewcvs/relax/branches/multi_processor_merge/relax?rev=12420&r1=12419&r2=12420&view=diff
==============================================================================
--- branches/multi_processor_merge/relax (original)
+++ branches/multi_processor_merge/relax Fri Jan 21 16:08:28 2011
@@ -86,15 +86,15 @@
         # Setup the object containing the generic functions.
         self.generic = generic_fns
 
+
+    def run(self):
+        """Execute relax.
+
+        This is the application callback method executed by the 
multi-processor framework.
+        """
+
         # Set up the warning system.
         relax_warnings.setup(self.pedantic)
-
-
-    def run(self):
-        """Execute relax.
-
-        This is the application callback method executed by the 
multi-processor framework.
-        """
 
         # Show the version number and exit.
         if self.mode == 'version':




Related Messages


Powered by MHonArc, Updated Fri Jan 21 16:20:03 2011