mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-20 12:21:53 +00:00
i18n init
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@1738 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
parent
b3e138e949
commit
60b87d49f3
1 changed files with 3 additions and 6 deletions
|
|
@ -35,13 +35,15 @@ default_timeout = 60
|
|||
socket.setdefaulttimeout(default_timeout)
|
||||
|
||||
import linkcheck
|
||||
# initialize i18n
|
||||
linkcheck.init_i18n()
|
||||
import linkcheck.log
|
||||
import linkcheck.optcomplete
|
||||
import linkcheck.checker
|
||||
import linkcheck.checker.cache
|
||||
import linkcheck.checker.consumer
|
||||
import linkcheck.configuration
|
||||
from linkcheck.i18n import _
|
||||
|
||||
|
||||
# default profiling filename
|
||||
_profile = "linkchecker.prof"
|
||||
|
|
@ -352,11 +354,6 @@ optparser.add_option_group(group)
|
|||
################# auto completion #####################
|
||||
linkcheck.optcomplete.autocomplete(optparser)
|
||||
|
||||
if "--wischiwaschi" in sys.argv:
|
||||
import linkcheck.util1
|
||||
linkcheck.util1.abbuzze()
|
||||
sys.exit(0)
|
||||
|
||||
# read and parser command line options and arguments
|
||||
(options, args) = optparser.parse_args()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue