Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

LANGUAGES should not be a generator

  • Loading branch information...
commit 35c1e564adb134f90ee4c08b3bd831be31338c65 1 parent 7130834
@dcramer dcramer authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/sentry/conf/settings.py
View
2  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)
Please sign in to comment.
Something went wrong with that request. Please try again.