Changeset 1750
- Timestamp:
- 09/28/04 11:11:56 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1742 r1750 22 22 # 23 23 # $Log$ 24 # Revision 1.76 2004/09/28 09:11:56 jalet 25 # Fix for accented chars in print job's title, filename, and options 26 # 24 27 # Revision 1.75 2004/09/24 20:21:50 jalet 25 28 # Fixed pykotaAccountBalance object location during creation … … 280 283 # 281 284 285 import os 282 286 import types 283 287 import time … … 1049 1053 "pykotaPrinterPageCounter" : str(pagecounter), 1050 1054 "pykotaAction" : action, 1051 "pykotaFileName" : str(filename),1052 "pykotaTitle" : str(title),1055 "pykotaFileName" : ((filename is None) and "None") or filename.decode(os.environ.get("CHARSET", "ISO-8859-15")).encode("UTF-8"), 1056 "pykotaTitle" : ((title is None) and "None") or title.decode(os.environ.get("CHARSET", "ISO-8859-15")).encode("UTF-8"), 1053 1057 "pykotaCopies" : str(copies), 1054 "pykotaOptions" : str(options),1058 "pykotaOptions" : ((options is None) and "None") or options.decode(os.environ.get("CHARSET", "ISO-8859-15")).encode("UTF-8"), 1055 1059 "pykotaHostName" : str(clienthost), 1056 1060 "pykotaJobSizeBytes" : str(jobsizebytes),