make plugins loader Python 3.5 compatible again (#69754)

ModuleNotFoundError was only introduced in Python 3.6
pull/69772/head
Evgeni Golov 4 years ago committed by GitHub
parent ee1625f906
commit 53f9822e75
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -49,6 +49,11 @@ try:
imp = None
except ImportError:
import imp
try:
ModuleNotFoundError
except NameError:
# this was introduced in Python 3.6
ModuleNotFoundError = None
display = Display()

Loading…
Cancel
Save