Use ImportError for older python versions.

This commit is contained in:
Olivier Mangin 2017-05-12 23:12:19 -04:00
parent e1a6ad2167
commit ce3ed1e52f

View File

@ -1,7 +1,7 @@
import re
try:
import argcomplete
except ModuleNotFoundError:
except ImportError:
class FakeModule: