mailr18383 - /trunk/gui/__init__.py


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

Header


Content

Posted by edward on February 02, 2013 - 11:08:
Author: bugman
Date: Sat Feb  2 11:08:19 2013
New Revision: 18383

URL: http://svn.gna.org/viewcvs/relax?rev=18383&view=rev
Log:
Epydoc documentation fix - a circular import in the GUI code paths has been 
broken.

This affects the API documentation at http://www.nmr-relax.com/api/.


Modified:
    trunk/gui/__init__.py

Modified: trunk/gui/__init__.py
URL: 
http://svn.gna.org/viewcvs/relax/trunk/gui/__init__.py?rev=18383&r1=18382&r2=18383&view=diff
==============================================================================
--- trunk/gui/__init__.py (original)
+++ trunk/gui/__init__.py Sat Feb  2 11:08:19 2013
@@ -1,6 +1,6 @@
 
###############################################################################
 #                                                                            
 #
-# Copyright (C) 2009-2011 Edward d'Auvergne                                  
 #
+# Copyright (C) 2009-2013 Edward d'Auvergne                                  
 #
 #                                                                            
 #
 # This file is part of the program relax (http://www.nmr-relax.com).         
 #
 #                                                                            
 #
@@ -41,7 +41,6 @@
 from status import Status; status = Status()
 
 # relax GUI module imports.
-from gui import relax_gui
 from gui.uf_objects import Uf_storage; uf_store = Uf_storage()
 
 
@@ -99,6 +98,9 @@
         # Show the splash screen.
         self.show_splash()
 
+        # Import here to break a circular import which is killing Epydoc!
+        from gui import relax_gui
+
         # Build the GUI.
         self.gui = relax_gui.Main(parent=None, id=-1, title="")
 




Related Messages


Powered by MHonArc, Updated Sat Feb 02 11:40:02 2013