diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2002-03-08 17:19:10 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2002-03-08 17:19:10 (GMT) |
commit | 566c0c737fc8f8029f8231b1c777da2dc0fdec40 (patch) | |
tree | 24c1af4451c8a18a633da195f9aa7361e8c44d50 /Tools | |
parent | b189b07dcc0bdd344ca5a5e9bff08b168d9dbe37 (diff) | |
download | cpython-566c0c737fc8f8029f8231b1c777da2dc0fdec40.zip cpython-566c0c737fc8f8029f8231b1c777da2dc0fdec40.tar.gz cpython-566c0c737fc8f8029f8231b1c777da2dc0fdec40.tar.bz2 |
[Bug #512799] urllib.splittype() returns a 2-tuple. (Reported by seb bacon)
Diffstat (limited to 'Tools')
-rwxr-xr-x | Tools/webchecker/webchecker.py | 2 |
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 |