diff --git a/setupext.py b/setupext.py index c6d166065364..4c675c3f5773 100644 --- a/setupext.py +++ b/setupext.py @@ -1170,8 +1170,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(