mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-23 05:35:49 +00:00
remove unused imports
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1592 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
2d389b6880
commit
98858c7822
3 changed files with 12 additions and 4 deletions
|
|
@ -16,7 +16,13 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
import re, cgi, sys, urlparse, time, os
|
||||
import sys
|
||||
import cgi
|
||||
|
||||
import linkcheck
|
||||
import linkcheck.lc_cgi
|
||||
|
||||
|
||||
# log errors to stdout
|
||||
sys.stderr = sys.stdout
|
||||
|
||||
|
|
@ -26,7 +32,6 @@ ALLOWED_SERVERS = ['127.0.0.1']
|
|||
# uncomment the following lines to test your CGI values
|
||||
#cgi.test()
|
||||
#sys.exit(0)
|
||||
import linkcheck.lc_cgi
|
||||
linkcheck.lc_cgi.startoutput()
|
||||
if linkcheck.lc_cgi.checkaccess(hosts=ALLOWED_HOSTS,
|
||||
servers=ALLOWED_SERVERS):
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
import sys, re, os, fcgi
|
||||
import fcgi
|
||||
import linkcheck
|
||||
import linkcheck.lc_cgi
|
||||
|
||||
# access
|
||||
|
|
|
|||
|
|
@ -16,7 +16,9 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
|
||||
import sys, re, thread, sz_fcgi
|
||||
import thread
|
||||
import sz_fcgi
|
||||
import linkcheck
|
||||
import linkcheck.lc_cgi
|
||||
|
||||
# access
|
||||
|
|
|
|||
Loading…
Reference in a new issue