aports/community/py3-pyside2/machinery.patch
2022-10-10 03:57:30 +02:00

14 lines
586 B
Diff

diff --git a/sources/shiboken2/libshiboken/embed/signature_bootstrap.py b/sources/shiboken2/libshiboken/embed/signature_bootstrap.py
index 9028642..c70abc5 100644
--- a/sources/shiboken2/libshiboken/embed/signature_bootstrap.py
+++ b/sources/shiboken2/libshiboken/embed/signature_bootstrap.py
@@ -211,7 +211,7 @@ class EmbeddableZipImporter(object):
return self if self._mod2path.get(fullname) else None
def load_module(self, fullname):
- import importlib
+ import importlib.machinery
import sys
filename = self._mod2path.get(fullname)