Changeset 1067 for pykota/trunk
- Timestamp:
- 07/07/03 10:33:19 (21 years ago)
- Location:
- pykota/trunk
- Files:
-
- 5 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r1065 r1067 22 22 PyKota NEWS : 23 23 24 - 1.13alpha1 : 25 26 - Bug fix wrt LDAP. 27 24 28 - 1.12 : 25 29 -
pykota/trunk/pykota/storage.py
r1062 r1067 21 21 # 22 22 # $Log$ 23 # Revision 1.18 2003/07/07 08:33:18 jalet 24 # Bug fix due to a typo in LDAP code 25 # 23 26 # Revision 1.17 2003/07/05 07:46:50 jalet 24 27 # The previous bug fix was incomplete. … … 112 115 self.AccountBalance = None 113 116 self.LifeTimePaid = None 117 self.Email = None 114 118 115 119 def consumeAccountBalance(self, amount) : -
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) -
pykota/trunk/pykota/version.py
r1065 r1067 21 21 # 22 22 23 __version__ = "1.1 2_unofficial"23 __version__ = "1.13alpha1_unofficial" 24 24 25 25 __doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""