summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 19:09:31 (GMT)
committerRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 19:09:31 (GMT)
commit9545a23c7ffb35417d451d24cc3b0339627965a7 (patch)
tree5e22fd30c1c6936970b4d87ca3e91f8428c74983 /Tools
parenta8157183b89c08cf47c969185d40973ec21a81c5 (diff)
downloadcpython-9545a23c7ffb35417d451d24cc3b0339627965a7.zip
cpython-9545a23c7ffb35417d451d24cc3b0339627965a7.tar.gz
cpython-9545a23c7ffb35417d451d24cc3b0339627965a7.tar.bz2
In a number of places code still revers
to "sys.platform == 'mac'" and that is dead code because it refers to a platform that is no longer supported (and hasn't been supported for several releases). Fixes issue #7908 for the trunk.
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/webchecker/wcgui.py6
-rwxr-xr-xTools/webchecker/websucker.py2
2 files changed, 0 insertions, 8 deletions
diff --git a/Tools/webchecker/wcgui.py b/Tools/webchecker/wcgui.py
index cfc4098..cd53263 100755
--- a/Tools/webchecker/wcgui.py
+++ b/Tools/webchecker/wcgui.py
@@ -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')
diff --git a/Tools/webchecker/websucker.py b/Tools/webchecker/websucker.py
index ef2fa44..df4c8e1 100755
--- a/Tools/webchecker/websucker.py
+++ b/Tools/webchecker/websucker.py
@@ -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