Changeset 2938
- Timestamp:
- 06/13/06 23:18:07 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r2880 r2938 917 917 "pykotaLimitBy" : (user.LimitBy or "quota"), 918 918 "pykotaOverCharge" : str(user.OverCharge), 919 "description" : self.userCharsetToDatabase(user.Description or "") 919 "description" : self.userCharsetToDatabase(user.Description or ""), 920 self.info["usermail"] : user.Email or "", 920 921 } 921 922 922 if user.Email :923 newfields.update({self.info["usermail"]: user.Email})924 923 mustadd = 1 925 924 if self.info["newuser"].lower() != 'below' : … … 1123 1122 "pykotaOverCharge" : str(user.OverCharge), 1124 1123 "description" : self.userCharsetToDatabase(user.Description or ""), 1124 self.info["usermail"] : user.Email or "", 1125 1125 } 1126 if user.Email :1127 newfields.update({self.info["usermail"]: user.Email})1128 1126 self.doModify(user.ident, newfields) 1129 1127