mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-03 22:50:30 +00:00
remove unused imports
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2898 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
f68d75d1e0
commit
96f4f946b2
4 changed files with 1 additions and 4 deletions
|
|
@ -19,7 +19,6 @@ Main functions for link checking.
|
|||
"""
|
||||
|
||||
import time
|
||||
import locale
|
||||
import sys
|
||||
import os
|
||||
import cgi
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
Url consumer class.
|
||||
"""
|
||||
|
||||
import sys
|
||||
import time
|
||||
try:
|
||||
import thread
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@
|
|||
Output logging support for different formats.
|
||||
"""
|
||||
|
||||
import locale
|
||||
import sys
|
||||
import os
|
||||
import datetime
|
||||
|
|
|
|||
Loading…
Reference in a new issue