Work around for numpy/gtk issue with turkish locale. Fix #5559.

This commit is contained in:
Marco Pesenti Gritti 2008-01-10 18:33:50 +01:00
parent 6c5025bd74
commit e85a07e2d2

View File

@ -20,6 +20,10 @@ import os
from ConfigParser import ConfigParser from ConfigParser import ConfigParser
import gettext 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 import pygtk
pygtk.require('2.0') pygtk.require('2.0')
import gtk import gtk