X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfatables%2Fxmlrule.py;h=e21f9d863cd0183d75c5094e78001681f2580537;hb=c11686844dfac796dc642c7d8d32a54021f55b21;hp=52bea31e8c4fb46e7306fb5d3803a8d570e88170;hpb=e1935395cc54882f3828b747959c414759227610;p=sfa.git diff --git a/sfatables/xmlrule.py b/sfatables/xmlrule.py index 52bea31e..e21f9d86 100644 --- a/sfatables/xmlrule.py +++ b/sfatables/xmlrule.py @@ -1,5 +1,9 @@ import libxml2 -import libxslt +# allow to run sfa2wsdl if this is missing (for mac) +import sys +try:import libxslt +except: print >>sys.stderr, "WARNING, could not import libxslt" + from sfatables.globals import * class XMLRule: