Changeset 782
- Timestamp:
- 02/10/03 02:02:17 (22 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/conf/pykota.conf.sample
r780 r782 32 32 # Where to log ? 33 33 # supported values : stderr, system (system means syslog, but don't use 'syslog' here) 34 logger: s tderr34 logger: system 35 35 36 36 # Print Quota administrator … … 58 58 # snmp(public, 43.10.2.1.4.1.1) 59 59 # are equivalent 60 # WARNING : external doesn't work yet because of ConfigParser 61 # which tries to do the %(printer)s substitution itself 60 62 requester: snmp(public, 43.10.2.1.4.1.1) 61 63 # -
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