From 6cfe4f105854000a0d670074628eb13d278639e6 Mon Sep 17 00:00:00 2001 From: calvin Date: Thu, 2 Jun 2005 22:02:41 +0000 Subject: [PATCH] updated git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2642 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- TODO | 2 ++ debian/control | 4 ++-- test.py | 10 ++++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/TODO b/TODO index 7c7286e4..b09bd50a 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,7 @@ Possible improvements people could work on: +- limit psyco memory (http://psyco.sourceforge.net/psycoguide/memlimits.html) + - [BUGFIX] when an URL is found in the cache and it has a broken anchor, the broken anchor name is not displayed as a warning diff --git a/debian/control b/debian/control index de4be26e..745c9947 100644 --- a/debian/control +++ b/debian/control @@ -33,8 +33,8 @@ Package: linkchecker-gui Architecture: all Depends: linkchecker, python2.4-glade2 Description: check websites and HTML documents for broken links (GUI version) - Provides a graphical interface to check links of websites and HTML - documents. + Provides a graphical interface "glinkchecker" to check links of websites + and HTML documents. Features: o recursive checking o multithreaded diff --git a/test.py b/test.py index c26509a2..b26bd092 100755 --- a/test.py +++ b/test.py @@ -996,14 +996,16 @@ def main(argv): # Configure doctests if cfg.first_doctest_failure: + import doctest # The doctest module in Python 2.3 does not have this feature + if hasattr(doctest, 'REPORT_ONLY_FIRST_FAILURE'): + doctest.set_unittest_reportflags(doctest.REPORT_ONLY_FIRST_FAILURE) + # Also apply the flag to zope.testing.doctest, if it exists try: from zope.testing import doctest - except ImportError: - print >> sys.stderr, ("cannot import zope.testing.doctest," - " ignoring -1") - else: doctest.set_unittest_reportflags(doctest.REPORT_ONLY_FIRST_FAILURE) + except ImportError: + pass # Configure the logging module import logging