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/pykota/storages
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • 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)