42 |
from gnue.common.utils.TextUtils import lineWrap |
from gnue.common.utils.TextUtils import lineWrap |
43 |
from gnue import paths |
from gnue import paths |
44 |
import locale |
import locale |
45 |
|
import __builtin__ |
46 |
|
|
47 |
# Mac has problems with LC_ALL... |
# Mac has problems with LC_ALL... |
48 |
try: |
try: |
49 |
locale.setlocale(locale.LC_ALL, '') |
locale.setlocale(locale.LC_ALL, '') |
50 |
except: |
except: |
51 |
pass |
pass |
|
|
|
|
# Important for now _() to be defined here |
|
|
import __builtin__ |
|
|
__builtin__.__dict__['_'] = lambda string:string |
|
|
|
|
52 |
|
|
53 |
from gnue.common.apps import GDebug |
from gnue.common.apps import GDebug |
54 |
from gnue.common.datasources import GConnections |
from gnue.common.datasources import GConnections |