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:
calvin 2004-09-05 20:52:13 +00:00
parent b3e138e949
commit 60b87d49f3

View file

@ -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()