Changeset 772 for pykota/trunk/pykota
- Timestamp:
- 02/09/03 13:56:53 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/tool.py
r764 r772 15 15 # 16 16 # $Log$ 17 # Revision 1.16 2003/02/09 12:56:53 jalet 18 # Internationalization begins... 19 # 17 20 # Revision 1.15 2003/02/08 22:09:52 jalet 18 21 # Name check method moved here … … 70 73 import getopt 71 74 import smtplib 75 import gettext 76 from locale import setlocale, LC_ALL 72 77 73 78 from mx import DateTime … … 88 93 def __init__(self, isfilter=0, doc="PyKota %s (c) 2003 %s" % (version.__version__, version.__author__)) : 89 94 """Initializes the command line tool.""" 95 # locale stuff 96 setlocale(LC_ALL, "") 97 gettext.install("pykota") 98 99 # pykota specific stuff 90 100 self.documentation = doc 91 101 self.config = config.PyKotaConfig(os.environ.get("CUPS_SERVERROOT", "/etc/cups"))