Changeset 2214 for pykota/trunk

Show
Ignore:
Timestamp:
04/22/05 23:19:29 (20 years ago)
Author:
jerome
Message:

An unknown locale could cause a traceback, this
is now fixed.

Location:
pykota/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/NEWS

    r2211 r2214  
    2222PyKota NEWS : 
    2323        
     24    - 1.22alpha8 : 
     25     
     26        - Fixed an i18n problem with Python 2.1 
     27         
    2428    - 1.22alpha7 : 
    2529     
  • pykota/trunk/pykota/tool.py

    r2210 r2214  
    9797                    localecharset = locale.getpreferredencoding() 
    9898                except AttributeError :     
    99                     localecharset = locale.getlocale()[1] 
    10099                    try : 
     100                        localecharset = locale.getlocale()[1] 
    101101                        localecharset = localecharset or locale.getdefaultlocale()[1] 
    102102                    except ValueError :     
  • pykota/trunk/pykota/version.py

    r2211 r2214  
    2222# 
    2323 
    24 __version__ = "1.22alpha7_unofficial" 
     24__version__ = "1.22alpha8_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""