equal
deleted
inserted
replaced
2306 '''remove all authentication information from a url string''' |
2306 '''remove all authentication information from a url string''' |
2307 u = url(u) |
2307 u = url(u) |
2308 u.user = u.passwd = None |
2308 u.user = u.passwd = None |
2309 return str(u) |
2309 return str(u) |
2310 |
2310 |
2311 def isatty(fd): |
2311 def isatty(fp): |
2312 try: |
2312 try: |
2313 return fd.isatty() |
2313 return fp.isatty() |
2314 except AttributeError: |
2314 except AttributeError: |
2315 return False |
2315 return False |
2316 |
2316 |
2317 timecount = unitcountfn( |
2317 timecount = unitcountfn( |
2318 (1, 1e3, _('%.0f s')), |
2318 (1, 1e3, _('%.0f s')), |