This commit is contained in:
Kovid Goyal 2019-06-11 15:15:12 +05:30
parent 152e823c41
commit edd44a559a
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -511,7 +511,7 @@ class Translations(POT): # {{{
try: try:
t = getattr(get_iso639_translator(l), 'gettext' if ispy3 else 'ugettext') t = getattr(get_iso639_translator(l), 'gettext' if ispy3 else 'ugettext')
t = partial(get_iso_language, t) t = partial(get_iso_language, t)
except IndexError: except Exception:
if is_ci and isosx: if is_ci and isosx:
t = get_language t = get_language
else: else: