From 566c0c737fc8f8029f8231b1c777da2dc0fdec40 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Fri, 8 Mar 2002 17:19:10 +0000 Subject: [Bug #512799] urllib.splittype() returns a 2-tuple. (Reported by seb bacon) --- Tools/webchecker/webchecker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v0.12