Changeset 782 for pykota/trunk/pykota/tool.py
- Timestamp:
- 02/10/03 02:02:17 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r773 r782 15 15 # 16 16 # $Log$ 17 # Revision 1.18 2003/02/10 01:02:17 jalet 18 # External requester is about to work, but I must sleep 19 # 17 20 # Revision 1.17 2003/02/09 13:05:43 jalet 18 21 # Internationalization continues... … … 77 80 import smtplib 78 81 import gettext 79 from locale import setlocale, LC_ALL 82 import locale 80 83 81 84 from mx import DateTime … … 97 100 """Initializes the command line tool.""" 98 101 # locale stuff 99 setlocale(LC_ALL, "") 102 try : 103 locale.setlocale(locale.LC_ALL, "") 104 except locale.Error : 105 pass 100 106 gettext.install("pykota") 101 107