From: Frédéric Chapoton Date: Sun, 3 Mar 2019 10:54:48 +0000 (+0100) Subject: remove duplicate import of gettext X-Git-Tag: v6.1.0b1~86^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a892cec1cfc0d4eb535ea8f396c22327db800ae8;p=thirdparty%2Ftornado.git remove duplicate import of gettext --- 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