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(