Feeble attempt at making urlopen more robust -- don't call splituser()
when splithost() returned no useable host, to avoid calling splituser() on None.
Showing
Please register or sign in to comment
when splithost() returned no useable host, to avoid calling splituser() on None.