##// END OF EJS Templates
locales: fetch proper locale before defaulting to default.
marcink -
r148:11cb569c default
parent child Browse files
Show More
@@ -155,7 +155,7 b' class HTTPApplication(object):'
155
155
156 def __init__(self, settings=None):
156 def __init__(self, settings=None):
157 self.config = Configurator(settings=settings)
157 self.config = Configurator(settings=settings)
158 locale = settings.get('', 'en_US.UTF-8')
158 locale = settings.get('locale', '') or 'en_US.UTF-8'
159 vcs = VCS(locale=locale, cache_config=settings)
159 vcs = VCS(locale=locale, cache_config=settings)
160 self._remotes = {
160 self._remotes = {
161 'hg': vcs._hg_remote,
161 'hg': vcs._hg_remote,
General Comments 0
You need to be logged in to leave comments. Login now