Permalink
Browse files

LANGUAGES should not be a generator

  • Loading branch information...
1 parent 7130834 commit 35c1e564adb134f90ee4c08b3bd831be31338c65 @dcramer dcramer committed Sep 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/sentry/conf/settings.py
@@ -47,7 +47,7 @@ def get_all_languages():
# Setup languages for only available locales
LANGUAGE_MAP = dict(settings.LANGUAGES)
-LANGUAGES = ((k, LANGUAGE_MAP[k]) for k in get_all_languages() if k in LANGUAGE_MAP)
+LANGUAGES = [(k, LANGUAGE_MAP[k]) for k in get_all_languages() if k in LANGUAGE_MAP]
LOG_LEVEL_REVERSE_MAP = dict((str(v), k) for k, v in LOG_LEVELS)

0 comments on commit 35c1e56

Please sign in to comment.