Skip to content

Commit

Permalink
use ImportError instead of ModuleNotFoundError
Browse files Browse the repository at this point in the history
  • Loading branch information
jbpoittevin committed Dec 27, 2021
1 parent 10ca974 commit 4819bbc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ftplugin/orgmode/liborgmode/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

try:
from collections.abc import Iterable
except ModuleNotFoundError:
except ImportError:
# preserve compatibility with python < 3.10
from collections import Iterable

Expand Down

0 comments on commit 4819bbc

Please sign in to comment.