mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
parent
a045f191b4
commit
94f25283c9
20 changed files with 52 additions and 196 deletions
|
@ -64,12 +64,6 @@ from Tkinter import *
|
|||
import tktools
|
||||
import webchecker
|
||||
|
||||
# Override some for a weaker platform
|
||||
if sys.platform == 'mac':
|
||||
webchecker.DEFROOT = "http://grail.cnri.reston.va.us/"
|
||||
webchecker.MAXPAGE = 50000
|
||||
webchecker.verbose = 4
|
||||
|
||||
def main():
|
||||
try:
|
||||
opts, args = getopt.getopt(sys.argv[1:], 't:m:qva')
|
||||
|
|
|
@ -97,8 +97,6 @@ class Sucker(webchecker.Checker):
|
|||
path = path + "index.html"
|
||||
if os.sep != "/":
|
||||
path = os.sep.join(path.split("/"))
|
||||
if os.name == "mac":
|
||||
path = os.sep + path
|
||||
path = os.path.join(host, path)
|
||||
return path
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue