branch | tls-sprint |
changeset 1421 | 77ee26df178f |
parent 1132 | 96752791c2b6 |
child 1480 | d3e3d527daf5 |
--- a/devtools/htmlparser.py Wed Apr 22 16:51:29 2009 +0200 +++ b/devtools/htmlparser.py Wed Apr 22 16:54:23 2009 +0200 @@ -4,10 +4,7 @@ from lxml import etree -from cubicweb.view import STRICT_DOCTYPE, TRANSITIONAL_DOCTYPE, CW_XHTML_EXTENSIONS - -STRICT_DOCTYPE = str(STRICT_DOCTYPE % CW_XHTML_EXTENSIONS).strip() -TRANSITIONAL_DOCTYPE = str(TRANSITIONAL_DOCTYPE % CW_XHTML_EXTENSIONS).strip() +from cubicweb.view import STRICT_DOCTYPE, TRANSITIONAL_DOCTYPE ERR_COUNT = 0