Changeset 1204 for pykota/trunk
- Timestamp:
- 11/24/03 10:54:06 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1203 r1204 22 22 # 23 23 # $Log$ 24 # Revision 1.38 2003/11/24 09:54:06 jalet 25 # Small fix for LDAP when pykotaOptions attribute wasn't present. 26 # 24 27 # Revision 1.37 2003/11/23 19:01:37 jalet 25 28 # Job price added to history … … 420 423 lastjob.JobPrice = float(fields.get("pykotaJobPrice", [0.0])[0]) 421 424 lastjob.JobAction = fields.get("pykotaAction")[0] 422 lastjob.JobFileName = fields.get("pykotaFileName" )[0]423 lastjob.JobTitle = fields.get("pykotaTitle" )[0]425 lastjob.JobFileName = fields.get("pykotaFileName", [""])[0] 426 lastjob.JobTitle = fields.get("pykotaTitle", [""])[0] 424 427 lastjob.JobCopies = int(fields.get("pykotaCopies", [0])[0]) 425 lastjob.JobOptions = fields.get("pykotaOptions" )[0]428 lastjob.JobOptions = fields.get("pykotaOptions", [""])[0] 426 429 date = fields.get("createTimestamp")[0] 427 430 year = int(date[:4])