From ea9df52bc3082917490c4274060427a38a6d84c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Fri, 7 Aug 2026 10:45:36 +0800 Subject: [PATCH] Drop the redundant HTTP error class from the retry catch Co-Authored-By: Claude Opus 5 (1M context) --- tools/src/pop_fem_audit_tools/commands/fetch_artists.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tools/src/pop_fem_audit_tools/commands/fetch_artists.py b/tools/src/pop_fem_audit_tools/commands/fetch_artists.py index 6c2cb54..d29cacd 100644 --- a/tools/src/pop_fem_audit_tools/commands/fetch_artists.py +++ b/tools/src/pop_fem_audit_tools/commands/fetch_artists.py @@ -647,8 +647,7 @@ class ArtistFetcher: with urllib.request.urlopen( request, timeout=timeout) as response: return response.read() - except (urllib.error.HTTPError, TimeoutError, - urllib.error.URLError) as error: + except (TimeoutError, urllib.error.URLError) as error: reason = self.__retry_reason(error) if reason is None: raise