Skip to content

Commit 1d8d79e

Browse files
committed
refactor: use ImportError instead of ModuleNotFoundError
1 parent d124966 commit 1d8d79e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eth/precompiles/blake2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
try:
1414
from blake2b import compress as blake2b_compress
15-
except ModuleNotFoundError:
15+
except ImportError:
1616
from eth._utils.blake2.compression import blake2b_compress
1717

1818
GAS_COST_PER_ROUND = 1

0 commit comments

Comments
 (0)