projects
/
htsworkflow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
89c1918
)
Define XHTML_RDF_DTD as None when we can't load the DTD
author
Diane Trout
<diane@caltech.edu>
Mon, 24 Sep 2012 23:34:44 +0000
(16:34 -0700)
committer
Diane Trout
<diane@caltech.edu>
Mon, 24 Sep 2012 23:34:44 +0000
(16:34 -0700)
htsworkflow/util/ethelp.py
patch
|
blob
|
history
diff --git
a/htsworkflow/util/ethelp.py
b/htsworkflow/util/ethelp.py
index e4fe897342acfe656d63c3155a51c715610a9dca..7398963999bfa470e7ffb9ee17822a4a8bc7ddd4 100644
(file)
--- a/
htsworkflow/util/ethelp.py
+++ b/
htsworkflow/util/ethelp.py
@@
-8,6
+8,7
@@
import lxml.etree
try:
XHTML_RDF_DTD = lxml.etree.DTD(external_id='-//W3C//DTD XHTML+RDFa 1.0//EN')
except lxml.etree.DTDParseError as e:
+ XHTML_RDF_DTD = None
LOGGER.warn("Unable to load XHTML DTD %s" % (str(e),))
def indent(elem, level=0):