equal
deleted
inserted
replaced
1587 return bool(url(path).scheme) |
1587 return bool(url(path).scheme) |
1588 |
1588 |
1589 def hasdriveletter(path): |
1589 def hasdriveletter(path): |
1590 return path[1:2] == ':' and path[0:1].isalpha() |
1590 return path[1:2] == ':' and path[0:1].isalpha() |
1591 |
1591 |
1592 def localpath(path): |
1592 def urllocalpath(path): |
1593 return url(path, parsequery=False, parsefragment=False).localpath() |
1593 return url(path, parsequery=False, parsefragment=False).localpath() |
1594 |
1594 |
1595 def hidepassword(u): |
1595 def hidepassword(u): |
1596 '''hide user credential in a url string''' |
1596 '''hide user credential in a url string''' |
1597 u = url(u) |
1597 u = url(u) |