mailr13600 - /branches/gui_testing/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 13, 2011 - 19:20:
Author: bugman
Date: Wed Jul 13 19:20:51 2011
New Revision: 13600

URL: http://svn.gna.org/viewcvs/relax?rev=13600&view=rev
Log:
Fixed a circular import issue.


Modified:
    branches/gui_testing/relax_errors.py

Modified: branches/gui_testing/relax_errors.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/gui_testing/relax_errors.py?rev=13600&r1=13599&r2=13600&view=diff
==============================================================================
--- branches/gui_testing/relax_errors.py (original)
+++ branches/gui_testing/relax_errors.py Wed Jul 13 19:20:51 2011
@@ -36,10 +36,6 @@
 import time
 from types import ClassType
 
-# relax module imports
-from status import Status; status = Status()
-
-
 # Text variables.
 BIN = 'a binary number (0 or 1)'
 BOOL = 'a Boolean (True or False)'
@@ -102,6 +98,7 @@
         """Modify the behaviour of the error system."""
 
         # Save the state if debugging is turned on.
+        from status import Status; status = Status()
         if status.debug:
             save_state()
 




Related Messages


Powered by MHonArc, Updated Wed Jul 13 19:40:02 2011