mirror of https://github.com/ansible/ansible.git
only ever catch ImportError (#69792)
ModuleNotFoundError is a subclass of ImportError but only exists in Python 3.6 or newer. Instead of doing hacks to be able to catch that on older Pythons, just always only catch ImportError, which will also catch ModuleNotFoundError on Python 3.6 or laterpull/69627/head
parent
80f09efd03
commit
e10e5fc4ad
Loading…
Reference in New Issue