Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@localhost.localdomain>2008-01-10 17:33:50 (GMT)
committer Marco Pesenti Gritti <marco@localhost.localdomain>2008-01-10 17:33:50 (GMT)
commite85a07e2d25036388168dfbb3eb67a607e0ac333 (patch)
tree5039be39e3a3f4b65d4509e6c5acabfc28e48e03
parent6c5025bd74040d25f31d259a6bc09b9072ffcde5 (diff)
Work around for numpy/gtk issue with turkish locale. Fix #5559.
-rwxr-xr-xbin/sugar-shell4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/sugar-shell b/bin/sugar-shell
index b0f66b4..ef69fc1 100755
--- a/bin/sugar-shell
+++ b/bin/sugar-shell
@@ -20,6 +20,10 @@ import os
from ConfigParser import ConfigParser
import gettext
+# HACK we need to import numpy before gtk otherwise we traceback in
+# some locales. See http://dev.laptop.org/ticket/5559.
+import numpy
+
import pygtk
pygtk.require('2.0')
import gtk