mailr3048 - /branches/error_import/relax


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

Header


Content

Posted by edward on February 27, 2007 - 06:45:
Author: bugman
Date: Tue Feb 27 06:29:40 2007
New Revision: 3048

URL: http://svn.gna.org/viewcvs/relax?rev=3048&view=rev
Log:
Rearranged the setting of global variables in the RelaxError and RelaxWarning 
modules.


Modified:
    branches/error_import/relax

Modified: branches/error_import/relax
URL: 
http://svn.gna.org/viewcvs/relax/branches/error_import/relax?rev=3048&r1=3047&r2=3048&view=diff
==============================================================================
--- branches/error_import/relax (original)
+++ branches/error_import/relax Tue Feb 27 06:29:40 2007
@@ -133,11 +133,15 @@
         # Process the command line arguments and determine the relax mode.
         mode, log_file, tee_file = self.arguments()
 
-        # Set up the RelaxError and RelaxWarning global variables.
+        # Set up the debugging flag.
         errors.Debug = self.Debug
+        warnings.Debug = self.Debug
+
+        # Set up the pedantic flag.
+        warnings.Pedantic = self.Pedantic
+
+        # Place the class instance into the RelaxError and RelaxWarning 
modules as global variables.
         errors.relax = self
-        warnings.Debug = self.Debug
-        warnings.Pedantic = self.Pedantic
         warnings.relax = self
 
         # Show the version number and exit.




Related Messages


Powered by MHonArc, Updated Tue Feb 27 07:00:07 2007