summaryrefslogtreecommitdiff
path: root/Tools/webchecker/websucker.py
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 19:09:31 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2010-05-05 19:09:31 +0000
commit9545a23c7ffb35417d451d24cc3b0339627965a7 (patch)
tree5e22fd30c1c6936970b4d87ca3e91f8428c74983 /Tools/webchecker/websucker.py
parenta8157183b89c08cf47c969185d40973ec21a81c5 (diff)
downloadcpython-git-9545a23c7ffb35417d451d24cc3b0339627965a7.tar.gz
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/webchecker/websucker.py')
-rwxr-xr-xTools/webchecker/websucker.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/Tools/webchecker/websucker.py b/Tools/webchecker/websucker.py
index ef2fa44d7e..df4c8e1b2e 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