override optparse gettext method

git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@2268 e7d03fd6-7b0d-0410-9947-9c21f3af8025
This commit is contained in:
calvin 2005-02-01 01:41:43 +00:00
parent b6213934f0
commit c70f16f056

View file

@ -35,6 +35,8 @@ socket.setdefaulttimeout(default_timeout)
import linkcheck
# initialize i18n, puts _() function into global namespace
linkcheck.init_i18n()
# override optparse gettext method
optparse._ = _
import linkcheck.log
import linkcheck.checker
import linkcheck.checker.cache