mirror of
https://github.com/Hopiu/linkchecker.git
synced 2026-05-10 07:34:44 +00:00
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:
parent
b6213934f0
commit
c70f16f056
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue