mailr14011 - /1.3/relax_errors.py


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

Header


Content

Posted by edward on July 29, 2011 - 19:01:
Author: bugman
Date: Fri Jul 29 19:01:35 2011
New Revision: 14011

URL: http://svn.gna.org/viewcvs/relax?rev=14011&view=rev
Log:
The relax state is now saved on a RelaxError when the pedantic rather than 
debugging flag is turned on.

As both flags can be given, this allows for this state saving to be activated 
or deactivated.


Modified:
    1.3/relax_errors.py

Modified: 1.3/relax_errors.py
URL: 
http://svn.gna.org/viewcvs/relax/1.3/relax_errors.py?rev=14011&r1=14010&r2=14011&view=diff
==============================================================================
--- 1.3/relax_errors.py (original)
+++ 1.3/relax_errors.py Fri Jul 29 19:01:35 2011
@@ -101,8 +101,8 @@
     def __str__(self):
         """Modify the behaviour of the error system."""
 
-        # Save the state if debugging is turned on.
-        if status.debug:
+        # Save the state if the pedantic flag is turned on.
+        if status.pedantic:
             save_state()
 
         # Modify the error message to include 'RelaxError' at the start.




Related Messages


Powered by MHonArc, Updated Fri Jul 29 19:20:02 2011