changeset 689 | 1cb7154e1592 |
parent 617 | d146e7256c65 |
child 742 | 909b912fa942 |
--- a/src/depot.py Sat Nov 08 11:08:13 2008 -0800 +++ b/src/depot.py Sun Nov 09 20:45:02 2008 -0600 @@ -69,6 +69,8 @@ MIRROR_DEFAULT = False import getopt +import gettext +import locale import logging import os import os.path @@ -150,6 +152,9 @@ if __name__ == "__main__": + locale.setlocale(locale.LC_ALL, "") + gettext.install("pkg", "/usr/share/locale") + port = PORT_DEFAULT threads = THREADS_DEFAULT socket_timeout = SOCKET_TIMEOUT_DEFAULT