gnome-games r7609 - in trunk/glchess: . src/lib



Author: rancell
Date: Thu Apr 10 03:09:32 2008
New Revision: 7609
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7609&view=rev

Log:
Import the main module on initialisation not runtime (Bug #524665)


Modified:
   trunk/glchess/ChangeLog
   trunk/glchess/src/lib/glchess.py

Modified: trunk/glchess/src/lib/glchess.py
==============================================================================
--- trunk/glchess/src/lib/glchess.py	(original)
+++ trunk/glchess/src/lib/glchess.py	Thu Apr 10 03:09:32 2008
@@ -16,7 +16,7 @@
 
 sys.stdout = SafeStdout()
 
+import main
 def start_game ():
-    import main
     app = main.Application()
     app.start()



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]