Skip to content

Commit 8b81405

Browse files
committed
FIX: Dont bother importing
1 parent f288599 commit 8b81405

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

codespell_lib/_codespell.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,8 @@
5151
_builtin_default = 'clear,rare'
5252

5353
# docs say os.EX_USAGE is only available on Unix systems, so to be safe we
54-
# protect and use the value it is on macOS and Linux (64) if not available:
55-
try:
56-
from os import EX_USAGE
57-
except ImportError:
58-
EX_USAGE = 64
54+
# protect and just use the value it is on macOS and Linux (64)
55+
EX_USAGE = 64
5956

6057
# OPTIONS:
6158
#

0 commit comments

Comments
 (0)