Work around for numpy/gtk issue with turkish locale. Fix #5559.
This commit is contained in:
parent
6c5025bd74
commit
e85a07e2d2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user