Networking module: fix regression on traceurl command

This commit is contained in:
nemunaire 2014-05-05 20:05:58 +02:00
parent 8a3037d288
commit be1beec980

View File

@ -172,7 +172,7 @@ def traceURL(url, timeout=5, stack=None):
stack.append('stack overflow :(') stack.append('stack overflow :(')
return stack return stack
o = urlparse(url, "http") o = urllib.parse.urlparse(url, "http")
if o.netloc == "": if o.netloc == "":
return stack return stack
if o.scheme == "http": if o.scheme == "http":