mailr12102 - /1.3/relax


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

Header


Content

Posted by edward on January 03, 2011 - 21:22:
Author: bugman
Date: Mon Jan  3 21:22:05 2011
New Revision: 12102

URL: http://svn.gna.org/viewcvs/relax?rev=12102&view=rev
Log:
Removed the status singleton from the main relax class namespace.


Modified:
    1.3/relax

Modified: 1.3/relax
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax?rev=12102&r1=12101&r2=12102&view=diff
==============================================================================
--- 1.3/relax (original)
+++ 1.3/relax Mon Jan  3 21:22:05 2011
@@ -82,8 +82,8 @@
         self.pid = getpid()
 
         # Initialise the status singleton.
-        self.status = Status()
-        self.status.setup()
+        status = Status()
+        status.setup()
 
         # Setup the object containing the generic functions.
         self.generic = generic_fns
@@ -178,7 +178,7 @@
 
         # Debugging flag.
         if options.debug:
-            self.status.debug = True
+            Status().debug = True
 
         # Pedantic flag.
         self.pedantic = False




Related Messages


Powered by MHonArc, Updated Tue Jan 04 09:00:02 2011