# HG changeset patch # User Pierre-Yves David # Date 1367226388 -7200 # Node ID 5cfc0387d63fd03cf0fba6ca610d981f229385e5 # Parent bcb87fa6da48d735e13c1d1144cd42b05b424c1d [devtools] Use XMLValidator instead deprecated SaxOnlyValidator The renaming was introduced in 198fdadafed6.o This prevent a meta class conflict introduced by logilab-common 0fcd2e050621. diff -r bcb87fa6da48 -r 5cfc0387d63f devtools/htmlparser.py --- a/devtools/htmlparser.py Fri Apr 26 18:47:36 2013 +0200 +++ b/devtools/htmlparser.py Mon Apr 29 11:06:28 2013 +0200 @@ -90,8 +90,7 @@ '[3.17] you should use the ' 'XMLValidator class instead') - -class XMLDemotingValidator(SaxOnlyValidator): +class XMLDemotingValidator(XMLValidator): """ some views produce html instead of xhtml, using demote_to_html this is typically related to the use of external dependencies