Author: bugman Date: Tue Feb 27 05:52:26 2007 New Revision: 3040 URL: http://svn.gna.org/viewcvs/relax?rev=3040&view=rev Log: Removed the Debug and Pedantic flags from __builtin__. This was suggested in the thread starting at https://mail.gna.org/public/relax-devel/2007-02/msg00003.html (Message-id: <45DACFEA.7020108@xxxxxxxxxxxxxxx>). The flags have been shifted, possibly temporarily, into 'self.relax'. Modified: branches/error_import/relax Modified: branches/error_import/relax URL: http://svn.gna.org/viewcvs/relax/branches/error_import/relax?rev=3040&r1=3039&r2=3040&view=diff ============================================================================== --- branches/error_import/relax (original) +++ branches/error_import/relax Tue Feb 27 05:52:26 2007 @@ -34,7 +34,6 @@ # Python modules. -import __builtin__ from os import F_OK, access, getpid, putenv import platform import profile @@ -101,10 +100,10 @@ RelaxErrors(self) # Debugging flag (default is off). - __builtin__.Debug = 0 + self.relax.Debug = 0 # Pedantic flag (default is off). - __builtin__.Pedantic = 0 + self.relax.Pedantic = 0 # Set up the program internal errors. RelaxErrors(self) @@ -234,11 +233,11 @@ # Debugging flag. if options.debug: - __builtin__.Debug = 1 + self.relax.Debug = 1 # Pedantic flag. if options.pedantic: - __builtin__.Pedantic = 1 + self.relax.Pedantic = 1 # Logging. if options.log: