From: Oleg Broytman Date: Mon, 3 Jan 2011 17:20:45 +0000 (+0000) Subject: ElementTidy often segfaults. X-Git-Tag: v4.5.3~68 X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=a788e94901728a5ea127b2c09e3a13ff6a5447b9;p=bookmarks_db.git ElementTidy often segfaults. git-svn-id: file:///home/phd/archive/SVN/bookmarks_db/trunk@308 fdd5c36f-1aea-0310-aeeb-c58d7e2b6c23 --- 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