From e85a07e2d25036388168dfbb3eb67a607e0ac333 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 10 Jan 2008 17:33:50 +0000 Subject: Work around for numpy/gtk issue with turkish locale. Fix #5559. --- 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 -- cgit v0.9.1