Skip to content

Commit 3140f53

Browse files
committed
fix: remove unused Path import, add comment to empty except
1 parent 20e5f97 commit 3140f53

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/specify_cli/integrations/catalog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def _fetch_single_catalog(
253253
cache_file.unlink(missing_ok=True)
254254
cache_meta.unlink(missing_ok=True)
255255
except OSError:
256-
pass
256+
pass # Cache cleanup is best-effort; ignore deletion failures.
257257

258258
try:
259259
with urllib.request.urlopen(entry.url, timeout=10) as resp:

tests/integrations/test_integration_catalog.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import json
44
import os
5-
from pathlib import Path
65

76
import pytest
87
import yaml

0 commit comments

Comments
 (0)