Skip to content

Commit

Permalink
Try different exception before giving up and making it generic
Browse files Browse the repository at this point in the history
  • Loading branch information
jhpyke committed Dec 16, 2024
1 parent af3313d commit 0c7d664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam_builder/iam_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

try:
import pkg_resources
except NameError:
except ModuleNotFoundError:
import importlib


Expand Down

0 comments on commit 0c7d664

Please sign in to comment.