mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-29 02:24:43 +00:00
cleanup
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3056 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
c31f9430a7
commit
c334b8db13
3 changed files with 2 additions and 6 deletions
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
"""Talk to a DNS server."""
|
||||
|
||||
from __future__ import generators
|
||||
|
||||
import errno
|
||||
import select
|
||||
import socket
|
||||
|
|
|
|||
|
|
@ -16,8 +16,6 @@
|
|||
|
||||
"""DNS Zones."""
|
||||
|
||||
from __future__ import generators
|
||||
|
||||
import sys
|
||||
|
||||
import linkcheck.dns.exception
|
||||
|
|
|
|||
|
|
@ -224,10 +224,10 @@ def strduration (duration):
|
|||
"""
|
||||
name = _("seconds")
|
||||
if duration >= 60:
|
||||
duration /= 60
|
||||
duration /= 60.0
|
||||
name = _("minutes")
|
||||
if duration >= 60:
|
||||
duration /= 60
|
||||
duration /= 60.0
|
||||
name = _("hours")
|
||||
return u"%.3f %s" % (duration, name)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue