Changeset 788
- Timestamp:
- 02/10/03 12:28:45 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r782 r788 15 15 # 16 16 # $Log$ 17 # Revision 1.19 2003/02/10 11:28:45 jalet 18 # Localization 19 # 17 20 # Revision 1.18 2003/02/10 01:02:17 jalet 18 21 # External requester is about to work, but I must sleep … … 100 103 """Initializes the command line tool.""" 101 104 # locale stuff 102 105 try : 103 106 locale.setlocale(locale.LC_ALL, "") 104 except locale.Error : 105 pass 106 gettext.install("pykota")107 gettext.install("pykota") 108 except (locale.Error, IOError) : 109 gettext.NullTranslations().install() 107 110 108 111 # pykota specific stuff