mailr14782 - /1.3/status.py


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

Header


Content

Posted by edward on October 05, 2011 - 13:41:
Author: bugman
Date: Wed Oct  5 13:41:13 2011
New Revision: 14782

URL: http://svn.gna.org/viewcvs/relax?rev=14782&view=rev
Log:
The status.test_mode and status.show_gui flags are now initialised only once 
in the singleton.

This is to prevent them from being overwritten when a reset() call is made.


Modified:
    1.3/status.py

Modified: 1.3/status.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/status.py?rev=14782&r1=14781&r2=14782&view=diff
==============================================================================
--- 1.3/status.py (original)
+++ 1.3/status.py Wed Oct  5 13:41:13 2011
@@ -50,6 +50,8 @@
             # Initialise some variables.
             self._instance.debug = False
             self._instance.pedantic = False
+            self._instance.test_mode = False
+            self._instance.show_gui = False
             self._instance.install_path = sys.path[0]
 
             # Set up the singleton.
@@ -78,11 +80,7 @@
         self.auto_analysis = {}
         self.current_analysis = None
 
-        # Testing mode flag.
-        self.test_mode = False
-
         # GUI structures.
-        self.show_gui = False    # The GUI flag.
         self.controller_max_entries = 100000    # Scroll back limit in the 
relax controller.
 
         # A structure for skipped system and unit tests.




Related Messages


Powered by MHonArc, Updated Wed Oct 05 14:00:01 2011