]> git.ipfire.org Git - thirdparty/tornado.git/commit
Issue #2954: prevent logging error messages for not existing translation files 2956/head
authorFlorian Best <best@univention.de>
Thu, 19 Nov 2020 09:45:28 +0000 (10:45 +0100)
committerFlorian Best <best@univention.de>
Thu, 19 Nov 2020 19:11:20 +0000 (20:11 +0100)
commitedceba6a5c3af08ebe53cd4ff75ba057201241c7
tree064d7aeedc6409ebd8e710efd3b1fefd9139e9fd
parentb120df9b584dc59881b72854a4b8e73b16b25159
Issue #2954: prevent logging error messages for not existing translation files

Every not existing translation file for the existing locales logged an error message:
Cannot load translation for 'ps': [Errno 2] No such file or directory: '/usr/share/locale/ps/LC_MESSAGES/foo.mo'
tornado/locale.py