Commit 2986be4e authored by Jason R. Coombs's avatar Jason R. Coombs

Fix AttributeError when `importlib.util` was not otherwise imported.

parent e3714224
...@@ -25,7 +25,7 @@ class DistutilsMetaFinder: ...@@ -25,7 +25,7 @@ class DistutilsMetaFinder:
return self.get_distutils_spec() return self.get_distutils_spec()
def get_distutils_spec(self): def get_distutils_spec(self):
import importlib import importlib.util
class DistutilsLoader(importlib.util.abc.Loader): class DistutilsLoader(importlib.util.abc.Loader):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment