Changeset 1067 for pykota/trunk/pykota/storages
- Timestamp:
- 07/07/03 10:33:19 (21 years ago)
- Location:
- pykota/trunk/pykota/storages
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/ldapstorage.py
r1062 r1067 21 21 # 22 22 # $Log$ 23 # Revision 1.14 2003/07/07 08:33:18 jalet 24 # Bug fix due to a typo in LDAP code 25 # 23 26 # Revision 1.13 2003/07/05 07:46:50 jalet 24 27 # The previous bug fix was incomplete. … … 595 598 else : 596 599 lastjuuid = self.genUUID() 597 lastjdn = "cn=%s,%s" % (las juuid, self.info["lastjobbase"])600 lastjdn = "cn=%s,%s" % (lastjuuid, self.info["lastjobbase"]) 598 601 fields = { 599 602 "objectClass" : ["pykotaObject", "pykotaLastJob"], -
pykota/trunk/pykota/storages/pgstorage.py
r1051 r1067 21 21 # 22 22 # $Log$ 23 # Revision 1.5 2003/07/07 08:33:19 jalet 24 # Bug fix due to a typo in LDAP code 25 # 23 26 # Revision 1.4 2003/06/30 13:54:21 jalet 24 27 # Sorts by user / group name … … 144 147 user.AccountBalance = fields.get("balance") 145 148 user.LifeTimePaid = fields.get("lifetimepaid") 149 user.Email = fields.get("email") 146 150 user.Exists = 1 147 151 return user … … 196 200 user.AccountBalance = record.get("balance") 197 201 user.LifeTimePaid = record.get("lifetimepaid") 202 user.Email = record.get("email") 198 203 user.Exists = 1 199 204 groupmembers.append(user) … … 282 287 user.AccountBalance = record.get("balance") 283 288 user.LifeTimePaid = record.get("lifetimepaid") 289 user.Email = record.get("email") # TODO : Always None here 284 290 user.Exists = 1 285 291 userpquota = StorageUserPQuota(self, user, printer)