webcheck commit: r445 - webcheck/webcheck/parsers/html
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
webcheck commit: r445 - webcheck/webcheck/parsers/html
- From: Commits of the webcheck project <webcheck-commits [at] lists.arthurdejong.org>
- To: webcheck-commits [at] lists.arthurdejong.org
- Reply-to: webcheck-users [at] lists.arthurdejong.org
- Subject: webcheck commit: r445 - webcheck/webcheck/parsers/html
- Date: Fri, 7 Oct 2011 10:35:55 +0200 (CEST)
Author: arthur
Date: Fri Oct 7 10:35:54 2011
New Revision: 445
URL: http://arthurdejong.org/viewvc/webcheck?revision=445&view=revision
Log:
fix webcheck.config import
Modified:
webcheck/webcheck/parsers/html/__init__.py
Modified: webcheck/webcheck/parsers/html/__init__.py
==============================================================================
--- webcheck/webcheck/parsers/html/__init__.py Fri Oct 7 10:22:43 2011
(r444)
+++ webcheck/webcheck/parsers/html/__init__.py Fri Oct 7 10:35:54 2011
(r445)
@@ -27,8 +27,7 @@
import htmlentitydefs
import re
-from webcheck import debugio
-import webcheck.config
+from webcheck import debugio, config
# the list of mimetypes this module should be able to handle
@@ -114,7 +113,7 @@
# call the normal parse function
_parsefunction(content, link)
# call the tidy parse function
- if webcheck.config.TIDY_OPTIONS:
+ if config.TIDY_OPTIONS:
try:
import webcheck.parsers.html.calltidy
debugio.debug('webcheck.parsers.html.parse(): the Tidy parser is
ok')
@@ -122,4 +121,4 @@
except ImportError:
debugio.warn('tidy library (python-utidylib) is unavailable')
# remove config to only try once
- webcheck.config.TIDY_OPTIONS = None
+ config.TIDY_OPTIONS = None
--
To unsubscribe send an email to
webcheck-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/webcheck-commits/
- webcheck commit: r445 - webcheck/webcheck/parsers/html,
Commits of the webcheck project