Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4abf7db

Browse files
committed
MNT: fix logic error where we never try the second freetype URL
closes #13450
1 parent d3e8ce3 commit 4abf7db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

setupext.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,8 +983,8 @@ def do_custom_build(self):
983983
tar_contents = download_or_cache(tarball_url,
984984
LOCAL_FREETYPE_HASH)
985985
break
986-
except Exception as ex:
987-
raise ex
986+
except Exception:
987+
pass
988988
else:
989989
raise IOError("Failed to download FreeType. Please download " +
990990
"one of {target_urls} ".format(

0 commit comments

Comments
 (0)