Lines Matching refs:urlparts
586 urlparts = urlparse.urlparse(newurl)587 if not urlparts.path:588 urlparts = list(urlparts)589 urlparts[2] = "/"590 newurl = urlparse.urlunparse(urlparts)