From edd44a559a7702f4f5790495e96872b68a0510fa Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 11 Jun 2019 15:15:12 +0530 Subject: [PATCH] ... --- setup/translations.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/translations.py b/setup/translations.py index 4101bad3d2..d595d6a941 100644 --- a/setup/translations.py +++ b/setup/translations.py @@ -511,7 +511,7 @@ class Translations(POT): # {{{ try: t = getattr(get_iso639_translator(l), 'gettext' if ispy3 else 'ugettext') t = partial(get_iso_language, t) - except IndexError: + except Exception: if is_ci and isosx: t = get_language else: