Changeset 2188 for pykota/trunk
- Timestamp:
- 03/30/05 15:43:07 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r2180 r2188 24 24 - 1.22alpha3 : 25 25 26 - Fixes some case related problems with some LDAP backends. 27 26 28 - Fixes some problem for printers which directly go from 27 29 "idle" to "warmup" and never to "printing" before -
pykota/trunk/pykota/storages/ldapstorage.py
r2147 r2188 680 680 if result : 681 681 (dn, fields) = result[0] 682 fields["objectClass"].extend(["pykotaAccount", "pykotaAccountBalance"]) 682 oc = fields.get("objectClass", fields.get("objectclass", [])) 683 oc.extend(["pykotaAccount", "pykotaAccountBalance"]) 683 684 fields.update(newfields) 684 685 fields.update({ "pykotaBalance" : str(user.AccountBalance or 0.0), … … 736 737 if result : 737 738 (dn, fields) = result[0] 738 fields["objectClass"].extend(["pykotaGroup"]) 739 oc = fields.get("objectClass", fields.get("objectclass", [])) 740 oc.extend(["pykotaGroup"]) 739 741 fields.update(newfields) 740 742 self.doModify(dn, fields)