Fix Babel version restriction. Onward and upward!

(Fix suggested by simonft... thanks!)
This commit is contained in:
Christopher Allan Webber 2014-03-22 11:00:10 -05:00
parent c07bb3123c
commit 023cda0974
2 changed files with 2 additions and 2 deletions

View File

@ -42,7 +42,7 @@ def set_available_locales():
"""Set available locales for which we have translations""" """Set available locales for which we have translations"""
global AVAILABLE_LOCALES global AVAILABLE_LOCALES
locales=['en', 'en_US'] # these are available without translations locales=['en', 'en_US'] # these are available without translations
for locale in localedata.list(): for locale in localedata.locale_identifiers():
if gettext.find('mediagoblin', TRANSLATIONS_PATH, [locale]): if gettext.find('mediagoblin', TRANSLATIONS_PATH, [locale]):
locales.append(locale) locales.append(locale)
AVAILABLE_LOCALES = locales AVAILABLE_LOCALES = locales

View File

@ -53,7 +53,7 @@ try:
'kombu', 'kombu',
'jinja2', 'jinja2',
'sphinx', 'sphinx',
'Babel<1.0', 'Babel',
'argparse', 'argparse',
'webtest<2', 'webtest<2',
'ConfigObj', 'ConfigObj',