Revert to the FUTURE_PYTHON_API, this means:
- switching the define on in buildsystems (NaN, auto and msvc are done) - again import _Blender, which is the C module, from the Python modules
This commit is contained in:
@@ -330,9 +330,9 @@ class ModuleFinder:
|
||||
return m
|
||||
|
||||
def find_module(self, name, path):
|
||||
# if name in self.excludes:
|
||||
# self.msgout(3, "find_module -> Excluded")
|
||||
# raise ImportError, name
|
||||
if name in self.excludes:
|
||||
self.msgout(3, "find_module -> Excluded")
|
||||
raise ImportError, name
|
||||
|
||||
if path is None:
|
||||
if name in sys.builtin_module_names:
|
||||
|
Reference in New Issue
Block a user