From a788e94901728a5ea127b2c09e3a13ff6a5447b9 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 3 Jan 2011 17:20:45 +0000 Subject: [PATCH] ElementTidy often segfaults. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@308 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- Robots/parse_html.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Robots/parse_html.py b/Robots/parse_html.py index a8c1d79..cbb45d6 100755 --- a/Robots/parse_html.py +++ b/Robots/parse_html.py @@ -41,6 +41,13 @@ except ImportError: else: parsers.append(parse_html_html5.parse_html) +# ElementTidy often segfaults +#try: +# import parse_html_etreetidy +#except ImportError: +# pass +#else: +# parsers.append(parse_html_etreetidy.parse_html) import re from htmlentitydefs import name2codepoint -- 2.39.5