summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorMichael W. Hudson <mwh@python.net>2002-03-11 10:04:07 (GMT)
committerMichael W. Hudson <mwh@python.net>2002-03-11 10:04:07 (GMT)
commit7742c3d40d9898561a645ce5d7414e63963cadeb (patch)
tree951761ba54108822d947f7c1e619a17b16674a91 /Tools
parent8cdebb2e60f864d0fc3b72dab0a7bb87fd8c4663 (diff)
downloadcpython-7742c3d40d9898561a645ce5d7414e63963cadeb.zip
cpython-7742c3d40d9898561a645ce5d7414e63963cadeb.tar.gz
cpython-7742c3d40d9898561a645ce5d7414e63963cadeb.tar.bz2
I presume most of the fixes currently hitting the tree should go into
2.2.1, but it would be nice if people remembered to comment on their fixes' applicability! backport akuchling's checkin of revision 1.26 of webchecker.py [Bug #512799] urllib.splittype() returns a 2-tuple. (Reported by seb bacon)
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/webchecker/webchecker.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/webchecker/webchecker.py b/Tools/webchecker/webchecker.py
index 071c2f6..470b15a 100755
--- a/Tools/webchecker/webchecker.py
+++ b/Tools/webchecker/webchecker.py
@@ -481,7 +481,7 @@ class Checker:
if self.name_table.has_key(url):
return self.name_table[url]
- scheme = urllib.splittype(url)
+ scheme, path = urllib.splittype(url)
if scheme in ('mailto', 'news', 'javascript', 'telnet'):
self.note(1, " Not checking %s URL" % scheme)
return None