equal
deleted
inserted
replaced
2862 |
2862 |
2863 def removeauth(u): |
2863 def removeauth(u): |
2864 '''remove all authentication information from a url string''' |
2864 '''remove all authentication information from a url string''' |
2865 u = url(u) |
2865 u = url(u) |
2866 u.user = u.passwd = None |
2866 u.user = u.passwd = None |
2867 return str(u) |
2867 return bytes(u) |
2868 |
2868 |
2869 timecount = unitcountfn( |
2869 timecount = unitcountfn( |
2870 (1, 1e3, _('%.0f s')), |
2870 (1, 1e3, _('%.0f s')), |
2871 (100, 1, _('%.1f s')), |
2871 (100, 1, _('%.1f s')), |
2872 (10, 1, _('%.2f s')), |
2872 (10, 1, _('%.2f s')), |