From 98858c7822f061b62b11156ea17d625001df290f Mon Sep 17 00:00:00 2001 From: calvin Date: Sat, 28 Aug 2004 11:53:42 +0000 Subject: [PATCH] remove unused imports git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1592 e7d03fd6-7b0d-0410-9947-9c21f3af8025 --- cgi/lc.cgi | 9 +++++++-- cgi/lc.fcgi | 3 ++- cgi/lc.sz_fcgi | 4 +++- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/cgi/lc.cgi b/cgi/lc.cgi index e4518a73..6466fa72 100755 --- a/cgi/lc.cgi +++ b/cgi/lc.cgi @@ -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): diff --git a/cgi/lc.fcgi b/cgi/lc.fcgi index ceb60566..9dfa8164 100755 --- a/cgi/lc.fcgi +++ b/cgi/lc.fcgi @@ -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 diff --git a/cgi/lc.sz_fcgi b/cgi/lc.sz_fcgi index 0479edf9..d5aa5b46 100755 --- a/cgi/lc.sz_fcgi +++ b/cgi/lc.sz_fcgi @@ -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