gnome-games r7608 - in branches/gnome-2-22/glchess: . src/lib



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

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


Modified:
   branches/gnome-2-22/glchess/ChangeLog
   branches/gnome-2-22/glchess/src/lib/glchess.py

Modified: branches/gnome-2-22/glchess/src/lib/glchess.py
==============================================================================
--- branches/gnome-2-22/glchess/src/lib/glchess.py	(original)
+++ branches/gnome-2-22/glchess/src/lib/glchess.py	Thu Apr 10 03:09:29 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]