From a892cec1cfc0d4eb535ea8f396c22327db800ae8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Fr=C3=A9d=C3=A9ric=20Chapoton?= Date: Sun, 3 Mar 2019 11:54:48 +0100 Subject: [PATCH] remove duplicate import of gettext --- tornado/locale.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tornado/locale.py b/tornado/locale.py index b72d81bc7..242555151 100644 --- a/tornado/locale.py +++ b/tornado/locale.py @@ -196,8 +196,6 @@ def load_gettext_translations(directory: str, domain: str) -> None: msgfmt mydomain.po -o {directory}/pt_BR/LC_MESSAGES/mydomain.mo """ - import gettext - global _translations global _supported_locales global _use_gettext -- 2.47.2