mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-05 05:04:46 +00:00
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:
parent
1f488aed1c
commit
a04e1f3f86
3 changed files with 4 additions and 6 deletions
2
lc.cgi
2
lc.cgi
|
|
@ -18,7 +18,7 @@
|
|||
import re, cgi, sys, urlparse, time, os
|
||||
sys.stderr = sys.stdout
|
||||
|
||||
def testit():
|
||||
def testit ():
|
||||
cgi.test()
|
||||
sys.exit(0)
|
||||
|
||||
|
|
|
|||
3
lc.fcgi
3
lc.fcgi
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in a new issue