webcheck commit: r443 - in webcheck/webcheck: . parsers/html plugins
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
webcheck commit: r443 - in webcheck/webcheck: . parsers/html plugins
- 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: r443 - in webcheck/webcheck: . parsers/html plugins
- Date: Fri, 7 Oct 2011 10:16:51 +0200 (CEST)
Author: arthur
Date: Fri Oct 7 10:16:50 2011
New Revision: 443
URL: http://arthurdejong.org/viewvc/webcheck?revision=443&view=revision
Log:
remove unnecessary imports
Modified:
webcheck/webcheck/config.py
webcheck/webcheck/db.py
webcheck/webcheck/parsers/html/beautifulsoup.py
webcheck/webcheck/plugins/images.py
webcheck/webcheck/plugins/problems.py
Modified: webcheck/webcheck/config.py
==============================================================================
--- webcheck/webcheck/config.py Fri Oct 7 10:09:37 2011 (r442)
+++ webcheck/webcheck/config.py Fri Oct 7 10:16:50 2011 (r443)
@@ -27,8 +27,6 @@
This file contains the default configuration for webcheck. All configurable
items should be changeble from the command line."""
-import urllib
-
# Whether to consider any URL not starting with the base URL to be external.
# This is the state of the -b command line option.
Modified: webcheck/webcheck/db.py
==============================================================================
--- webcheck/webcheck/db.py Fri Oct 7 10:09:37 2011 (r442)
+++ webcheck/webcheck/db.py Fri Oct 7 10:16:50 2011 (r443)
@@ -27,7 +27,7 @@
from sqlalchemy import Table, Column, Integer, Boolean, String, DateTime,
ForeignKey
from sqlalchemy.orm import relationship, backref, sessionmaker
from sqlalchemy.orm.session import object_session
-from sqlalchemy.sql.expression import ClauseElement, union
+from sqlalchemy.sql.expression import union
from webcheck.myurllib import normalizeurl
import webcheck.config
Modified: webcheck/webcheck/parsers/html/beautifulsoup.py
==============================================================================
--- webcheck/webcheck/parsers/html/beautifulsoup.py Fri Oct 7 10:09:37
2011 (r442)
+++ webcheck/webcheck/parsers/html/beautifulsoup.py Fri Oct 7 10:16:50
2011 (r443)
@@ -24,7 +24,6 @@
BeautifulSoup HTML parser and is more flexible than the legacy HTMLParser
module."""
-import htmlentitydefs
import re
import urlparse
@@ -32,7 +31,6 @@
from webcheck.myurllib import normalizeurl
from webcheck.parsers.html import htmlunescape
-import crawler
# pattern for matching http-equiv and content part of
Modified: webcheck/webcheck/plugins/images.py
==============================================================================
--- webcheck/webcheck/plugins/images.py Fri Oct 7 10:09:37 2011 (r442)
+++ webcheck/webcheck/plugins/images.py Fri Oct 7 10:16:50 2011 (r443)
@@ -28,8 +28,6 @@
__author__ = 'Arthur de Jong'
__outputfile__ = 'images.html'
-import re
-
from webcheck.db import Session, Link
import webcheck.plugins
Modified: webcheck/webcheck/plugins/problems.py
==============================================================================
--- webcheck/webcheck/plugins/problems.py Fri Oct 7 10:09:37 2011
(r442)
+++ webcheck/webcheck/plugins/problems.py Fri Oct 7 10:16:50 2011
(r443)
@@ -28,8 +28,6 @@
__author__ = 'Arthur de Jong'
__outputfile__ = 'problems.html'
-import urllib
-
from webcheck.db import Session, Link
import webcheck.plugins
--
To unsubscribe send an email to
webcheck-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/webcheck-commits/
- webcheck commit: r443 - in webcheck/webcheck: . parsers/html plugins,
Commits of the webcheck project