From 803840abf7dcb6ac190f021a971f1e3dc8f6792a Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 6 Nov 2018 20:22:47 -0500 Subject: [PATCH] Refs #29926 -- Removed usage of gettext.translation()'s deprecated codeset parameter. https://bugs.python.org/issue33710 --- django/utils/translation/trans_real.py | 1 - 1 file changed, 1 deletion(-) diff --git a/django/utils/translation/trans_real.py b/django/utils/translation/trans_real.py index c06ca34153..98e3d0f51b 100644 --- a/django/utils/translation/trans_real.py +++ b/django/utils/translation/trans_real.py @@ -120,7 +120,6 @@ class DjangoTranslation(gettext_module.GNUTranslations): domain=self.domain, localedir=localedir, languages=[self.__locale], - codeset='utf-8', fallback=use_null_fallback, )