Use ImportError for older python versions.
This commit is contained in:
parent
e1a6ad2167
commit
ce3ed1e52f
@ -1,7 +1,7 @@
|
||||
import re
|
||||
try:
|
||||
import argcomplete
|
||||
except ModuleNotFoundError:
|
||||
except ImportError:
|
||||
|
||||
class FakeModule:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user