mailr11839 - /1.3/relax


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

Header


Content

Posted by edward on December 16, 2010 - 11:56:
Author: bugman
Date: Thu Dec 16 11:56:02 2010
New Revision: 11839

URL: http://svn.gna.org/viewcvs/relax?rev=11839&view=rev
Log:
Shifted the initialisation of the status object to be after the 
__main__.debug initialisation.


Modified:
    1.3/relax

Modified: 1.3/relax
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax?rev=11839&r1=11838&r2=11839&view=diff
==============================================================================
--- 1.3/relax (original)
+++ 1.3/relax Thu Dec 16 11:56:02 2010
@@ -95,6 +95,10 @@
 
         # Set up the warning system.
         relax_warnings.setup()
+
+        # Initialise the status singleton.
+        status = Status()
+        status.setup()
 
         # Show the version number and exit.
         if mode == 'version':
@@ -346,10 +350,6 @@
 
 
 if __name__ == "__main__":
-    # Initialise the status singleton.
-    status = Status()
-    status.setup()
-
     # Change this flag to True for code profiling.
     profile_flag = False
 




Related Messages


Powered by MHonArc, Updated Thu Dec 16 12:20:02 2010