Skip to content

Commit bd04937

Browse files
Potential fix for pull request finding 'Empty except'
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent 1786d27 commit bd04937

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/specify_cli/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4354,7 +4354,8 @@ def extension_update(
43544354
with f:
43554355
manifest_data = yaml.safe_load(f.read()) or {}
43564356
except KeyError:
4357-
pass
4357+
# extension.yml not present at archive root; use nested fallback below.
4358+
manifest_data = None
43584359
# Fall back to nested-directory search if root-level
43594360
# was missing (KeyError) or not a regular file (None).
43604361
if manifest_data is None:

0 commit comments

Comments
 (0)