mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-04-25 00:24:45 +00:00
updated default timeout
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1166 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
3c1ee15ff5
commit
ef26a3bbcf
5 changed files with 13 additions and 12 deletions
|
|
@ -33,7 +33,8 @@ if not hasattr(sys, 'version_info') or sys.version_info<(2, 3, 0, 'final', 0):
|
|||
|
||||
import getopt, re, os, pprint, socket, linkcheck
|
||||
# set default 60 seconds timeout
|
||||
socket.setdefaulttimeout(60)
|
||||
default_timeout = 60
|
||||
socket.setdefaulttimeout(default_timeout)
|
||||
# import several helper debugging things
|
||||
from linkcheck.debug import *
|
||||
from linkcheck.log import LoggerKeys
|
||||
|
|
@ -230,7 +231,7 @@ To disable threading specify a non-positive number."""))
|
|||
optparser.add_option("--timeout", type="int", dest="timeout",
|
||||
help=i18n._(
|
||||
"""Set the timeout for TCP connection attempts in seconds. The default
|
||||
timeout is 30 seconds."""))
|
||||
timeout is %d seconds.""") % default_timeout)
|
||||
|
||||
optparser.add_option("-u", "--user", type="string", dest="username",
|
||||
help=i18n._(
|
||||
|
|
|
|||
8
po/de.po
8
po/de.po
|
|
@ -4,8 +4,8 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: $Id$\n"
|
||||
"POT-Creation-Date: Sat Jan 3 20:47:27 2004\n"
|
||||
"PO-Revision-Date: 2004-01-03 22:15+0100\n"
|
||||
"POT-Creation-Date: Sat Jan 3 22:17:56 2004\n"
|
||||
"PO-Revision-Date: 2004-01-03 22:18+0100\n"
|
||||
"Last-Translator: Bastian Kleineidam <calvin@debian.org>\n"
|
||||
"Language-Team: de <de@li.org>\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
|
|
@ -618,10 +618,10 @@ msgstr ""
|
|||
|
||||
msgid ""
|
||||
"Set the timeout for TCP connection attempts in seconds. The default\n"
|
||||
"timeout is 30 seconds."
|
||||
"timeout is %d seconds."
|
||||
msgstr ""
|
||||
"Setze den Timeout für TCP-Verbindungen in Sekunden. Der Standard\n"
|
||||
"Timeout ist 60 Sekunden."
|
||||
"Timeout ist %d Sekunden."
|
||||
|
||||
msgid ""
|
||||
"Try username name for HTTP and FTP authorization.\n"
|
||||
|
|
|
|||
4
po/fr.po
4
po/fr.po
|
|
@ -4,7 +4,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: $Id$\n"
|
||||
"POT-Creation-Date: Sat Jan 3 20:47:27 2004\n"
|
||||
"POT-Creation-Date: Sat Jan 3 22:17:56 2004\n"
|
||||
"PO-Revision-Date: 2004-01-03 14:35+0100\n"
|
||||
"Last-Translator: Bastian Kleineidam <calvin@debian.org>\n"
|
||||
"Language-Team: fr <fr@li.org>\n"
|
||||
|
|
@ -551,7 +551,7 @@ msgstr ""
|
|||
|
||||
msgid ""
|
||||
"Set the timeout for TCP connection attempts in seconds. The default\n"
|
||||
"timeout is 30 seconds."
|
||||
"timeout is %d seconds."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"POT-Creation-Date: Sat Jan 3 20:47:27 2004\n"
|
||||
"POT-Creation-Date: Sat Jan 3 22:17:56 2004\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
|
@ -520,7 +520,7 @@ msgstr ""
|
|||
|
||||
msgid ""
|
||||
"Set the timeout for TCP connection attempts in seconds. The default\n"
|
||||
"timeout is 30 seconds."
|
||||
"timeout is %d seconds."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
|
|
|
|||
4
po/nl.po
4
po/nl.po
|
|
@ -4,7 +4,7 @@
|
|||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: $Id$\n"
|
||||
"POT-Creation-Date: Sat Jan 3 20:47:27 2004\n"
|
||||
"POT-Creation-Date: Sat Jan 3 22:17:56 2004\n"
|
||||
"PO-Revision-Date: 2004-01-03 14:37+0100\n"
|
||||
"Last-Translator: Bastian Kleineidam <calvin@debian.org>\n"
|
||||
"Language-Team: nl <nl@li.org>\n"
|
||||
|
|
@ -563,7 +563,7 @@ msgstr ""
|
|||
|
||||
msgid ""
|
||||
"Set the timeout for TCP connection attempts in seconds. The default\n"
|
||||
"timeout is 30 seconds."
|
||||
"timeout is %d seconds."
|
||||
msgstr ""
|
||||
|
||||
msgid ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue