Small hack for backwards compatibility with older SCons versions (e.g. 2.3.0).
1 files changed, 4 insertions(+), 0 deletions(-) M po/SConscript
M po/SConscript => po/SConscript +4 -0
@@ 4,6 4,10 @@ from glob import glob Import('env') +# Compatibility with earlier SCons versions: +if not hasattr(env, 'MOFiles'): + env.MOFiles = env.MO + locales = map(lambda str: str[:-3], glob('*.po')) for locale in locales: subdir = '/%s/LC_MESSAGES' % locale