mailr14436 - /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 August 25, 2011 - 12:12:
Author: bugman
Date: Thu Aug 25 12:12:25 2011
New Revision: 14436

URL: http://svn.gna.org/viewcvs/relax?rev=14436&view=rev
Log:
Fix for the RelaxError system - the status singleton was not being imported.

This was a result of a faulty merger of the gui_testing branch.


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=14436&r1=14435&r2=14436&view=diff
==============================================================================
--- 1.3/relax_errors.py (original)
+++ 1.3/relax_errors.py Thu Aug 25 12:12:25 2011
@@ -36,6 +36,7 @@
 import time
 from types import ClassType
 
+
 # Text variables.
 BIN = 'a binary number (0 or 1)'
 BOOL = 'a Boolean (True or False)'
@@ -98,6 +99,7 @@
         """Modify the behaviour of the error system."""
 
         # Save the state if the pedantic flag is turned on.
+        from status import Status; status = Status()
         if status.pedantic:
             save_state()
 




Related Messages


Powered by MHonArc, Updated Thu Aug 25 12:20:02 2011