Commit 46f1122e authored by Nicolas Delaby's avatar Nicolas Delaby

Catch only ImportError Exception

parent 59c51f0d
......@@ -27,7 +27,7 @@ try:
from Ft.Xml.Domlette import implementation
def getDOMImplementation():
return implementation
except:
except ImportError:
from xml.dom.minidom import parse, parseString
from xml.dom.minidom import getDOMImplementation
from xml.dom.ext import PrettyPrint
......
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