Show
Ignore:
Timestamp:
02/15/06 23:26:52 (18 years ago)
Author:
jerome
Message:

Add the description attribute on creation

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storages/ldapstorage.py

    r2686 r2697  
    871871        if user.Email : 
    872872            newfields.update({self.info["usermail"]: user.Email}) 
     873        if user.Description is not None :  
     874            newfields.update({"description": self.userCharsetToDatabase(user.Description)}) 
    873875        mustadd = 1 
    874876        if self.info["newuser"].lower() != 'below' : 
     
    932934                      "pykotaLimitBy" : (group.LimitBy or "quota"), 
    933935                    }  
     936        if group.Description is not None :  
     937            newfields.update({"description": self.userCharsetToDatabase(group.Description)}) 
    934938        mustadd = 1 
    935939        if self.info["newgroup"].lower() != 'below' :