diff --git a/linkcheck/checker/__init__.py b/linkcheck/checker/__init__.py index 57f61bc4..aa7c9bee 100644 --- a/linkcheck/checker/__init__.py +++ b/linkcheck/checker/__init__.py @@ -19,7 +19,6 @@ Main functions for link checking. """ import time -import locale import sys import os import cgi diff --git a/linkcheck/checker/consumer.py b/linkcheck/checker/consumer.py index 25b5babb..01983982 100644 --- a/linkcheck/checker/consumer.py +++ b/linkcheck/checker/consumer.py @@ -18,7 +18,6 @@ Url consumer class. """ -import sys import time try: import thread diff --git a/linkcheck/ftests/__init__.py b/linkcheck/ftests/__init__.py index 73372678..66f0490e 100644 --- a/linkcheck/ftests/__init__.py +++ b/linkcheck/ftests/__init__.py @@ -143,7 +143,7 @@ class StandardTest (unittest.TestCase): """ resultfile = self.get_file(filename+".result") d = {'curdir': os.getcwd()} - f = codecs.open(resultfile, "r", linkcheck.i18n.default_encoding) + f = codecs.open(resultfile, "r", "iso-8859-15") resultlines = [line.rstrip('\r\n') % d for line in f \ if line.strip() and not line.startswith(u'#')] f.close() diff --git a/linkcheck/logger/__init__.py b/linkcheck/logger/__init__.py index f180dceb..3bf1e52a 100644 --- a/linkcheck/logger/__init__.py +++ b/linkcheck/logger/__init__.py @@ -18,7 +18,6 @@ Output logging support for different formats. """ -import locale import sys import os import datetime