syntax updates

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@462 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2002-06-07 19:57:13 +00:00
parent 1f488aed1c
commit a04e1f3f86
3 changed files with 4 additions and 6 deletions

2
lc.cgi
View file

@ -18,7 +18,7 @@
import re, cgi, sys, urlparse, time, os
sys.stderr = sys.stdout
def testit():
def testit ():
cgi.test()
sys.exit(0)

View file

@ -15,8 +15,7 @@
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
import sys, re, os
import fcgi
import sys, re, os, fcgi
# main
try:

View file

@ -14,11 +14,10 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
import sys,re,thread
import sz_fcgi, linkcheck
import sys, re, thread, sz_fcgi, linkcheck
def func(fcg, req):
def func (fcg, req):
req.out.write("Content-type: text/html\r\n"
"Cache-Control: no-cache\r\n"
"Pragma: no-cache\r\n"