[Bf-extensions-cvs] [00f61a7] master: Remove check for Python installation
Campbell Barton
noreply at git.blender.org
Sat Oct 24 06:02:26 CEST 2015
Commit: 00f61a72b54d4abb5e692451cad3f8fd3925314e
Author: Campbell Barton
Date: Sat Oct 24 14:56:15 2015 +1100
Branches: master
https://developer.blender.org/rBA00f61a72b54d4abb5e692451cad3f8fd3925314e
Remove check for Python installation
We assume a full Python is available now
===================================================================
M io_scene_x3d/import_x3d.py
===================================================================
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index c67eba9..d2c18dd 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -1406,12 +1406,8 @@ def x3d_parse(path):
Sets up the root node and returns it so load_web3d() can deal with the blender side of things.
Return root (x3dNode, '') or (None, 'Error String')
"""
-
- try:
- import xml.dom.minidom
- import xml.sax
- except:
- return None, 'Error, import XML parsing module (xml.dom.minidom) failed, install python'
+ import xml.dom.minidom
+ import xml.sax
'''
try: doc = xml.dom.minidom.parse(path)
More information about the Bf-extensions-cvs
mailing list