From 524fe6ae3b3a7d3a205bb7c6746b3a5be478550b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 31 Jan 2026 08:28:10 +0530 Subject: [PATCH] Ignoring errors is the default behavior for os.walk --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 30cdca3e5..01d553582 100755 --- a/setup.py +++ b/setup.py @@ -932,7 +932,7 @@ def add_builtin_fonts(args: Options) -> None: break else: for candidate in candidates: - for root, _, files in os.walk(candidate, onerror=lambda _: None): + for root, _, files in os.walk(candidate): if filename in files: font_file = os.path.join(root, filename) break