Changeset 1067

Show
Ignore:
Timestamp:
07/07/03 10:33:19 (21 years ago)
Author:
jalet
Message:

Bug fix due to a typo in LDAP code

Location:
pykota/trunk
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/NEWS

    r1065 r1067  
    2222PyKota NEWS : 
    2323 
     24    - 1.13alpha1 : 
     25     
     26        - Bug fix wrt LDAP. 
     27         
    2428    - 1.12 : 
    2529     
  • pykota/trunk/pykota/storage.py

    r1062 r1067  
    2121# 
    2222# $Log$ 
     23# Revision 1.18  2003/07/07 08:33:18  jalet 
     24# Bug fix due to a typo in LDAP code 
     25# 
    2326# Revision 1.17  2003/07/05 07:46:50  jalet 
    2427# The previous bug fix was incomplete. 
     
    112115        self.AccountBalance = None 
    113116        self.LifeTimePaid = None 
     117        self.Email = None 
    114118         
    115119    def consumeAccountBalance(self, amount) :      
  • pykota/trunk/pykota/storages/ldapstorage.py

    r1062 r1067  
    2121# 
    2222# $Log$ 
     23# Revision 1.14  2003/07/07 08:33:18  jalet 
     24# Bug fix due to a typo in LDAP code 
     25# 
    2326# Revision 1.13  2003/07/05 07:46:50  jalet 
    2427# The previous bug fix was incomplete. 
     
    595598        else :     
    596599            lastjuuid = self.genUUID() 
    597             lastjdn = "cn=%s,%s" % (lasjuuid, self.info["lastjobbase"]) 
     600            lastjdn = "cn=%s,%s" % (lastjuuid, self.info["lastjobbase"]) 
    598601            fields = { 
    599602                       "objectClass" : ["pykotaObject", "pykotaLastJob"], 
  • pykota/trunk/pykota/storages/pgstorage.py

    r1051 r1067  
    2121# 
    2222# $Log$ 
     23# Revision 1.5  2003/07/07 08:33:19  jalet 
     24# Bug fix due to a typo in LDAP code 
     25# 
    2326# Revision 1.4  2003/06/30 13:54:21  jalet 
    2427# Sorts by user / group name 
     
    144147            user.AccountBalance = fields.get("balance") 
    145148            user.LifeTimePaid = fields.get("lifetimepaid") 
     149            user.Email = fields.get("email") 
    146150            user.Exists = 1 
    147151        return user 
     
    196200                user.AccountBalance = record.get("balance") 
    197201                user.LifeTimePaid = record.get("lifetimepaid") 
     202                user.Email = record.get("email") 
    198203                user.Exists = 1 
    199204                groupmembers.append(user) 
     
    282287                    user.AccountBalance = record.get("balance") 
    283288                    user.LifeTimePaid = record.get("lifetimepaid") 
     289                    user.Email = record.get("email")    # TODO : Always None here 
    284290                    user.Exists = 1 
    285291                    userpquota = StorageUserPQuota(self, user, printer) 
  • pykota/trunk/pykota/version.py

    r1065 r1067  
    2121# 
    2222 
    23 __version__ = "1.12_unofficial" 
     23__version__ = "1.13alpha1_unofficial" 
    2424 
    2525__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""