From 4abf7db62ecf8ab11fb161e094340c236b2419b6 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Sat, 16 Feb 2019 20:59:12 -0500 Subject: [PATCH] MNT: fix logic error where we never try the second freetype URL closes #13450 --- setupext.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setupext.py b/setupext.py index 43886e2aecf1..d9a28ddee6d7 100644 --- a/setupext.py +++ b/setupext.py @@ -983,8 +983,8 @@ def do_custom_build(self): tar_contents = download_or_cache(tarball_url, LOCAL_FREETYPE_HASH) break - except Exception as ex: - raise ex + except Exception: + pass else: raise IOError("Failed to download FreeType. Please download " + "one of {target_urls} ".format(