gnome-games r7660 - in branches/gnome-2-22/gnome-sudoku: . src
- From: rancell svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-games r7660 - in branches/gnome-2-22/gnome-sudoku: . src
- Date: Wed, 14 May 2008 13:17:18 +0100 (BST)
Author: rancell
Date: Wed May 14 12:17:18 2008
New Revision: 7660
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7660&view=rev
Log:
Don't modify sys.path as this can cause modules to be loaded that don't match the intepreter version (Bug #528953)
Modified:
branches/gnome-2-22/gnome-sudoku/ChangeLog
branches/gnome-2-22/gnome-sudoku/src/gnome-sudoku.in.in
Modified: branches/gnome-2-22/gnome-sudoku/src/gnome-sudoku.in.in
==============================================================================
--- branches/gnome-2-22/gnome-sudoku/src/gnome-sudoku.in.in (original)
+++ branches/gnome-2-22/gnome-sudoku/src/gnome-sudoku.in.in Wed May 14 12:17:18 2008
@@ -31,9 +31,6 @@
try:
# Import gnome-sudoku from pyexecdir or system installation.
installed_mode = True
- import sys
- if "#pyexecdir#" not in sys.path:
- sys.path.insert(0, "#pyexecdir#")
from gnome_sudoku.gnome_sudoku import start_game
except ImportError:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]