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"""
global AVAILABLE_LOCALES
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]):
locales.append(locale)
AVAILABLE_LOCALES = locales

View File

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