Changeset 1367

Show
Ignore:
Timestamp:
02/27/04 10:30:33 (21 years ago)
Author:
jalet
Message:

datelimit wasn't reset when modifying soft and hard limits with the LDAP backend

Location:
pykota/trunk/pykota
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/storage.py

    r1365 r1367  
    2222# 
    2323# $Log$ 
     24# Revision 1.47  2004/02/27 09:30:33  jalet 
     25# datelimit wasn't reset when modifying soft and hard limits with the LDAP backend 
     26# 
    2427# Revision 1.46  2004/02/26 14:18:07  jalet 
    2528# Should fix the remaining bugs wrt printers groups and users groups. 
     
    351354        self.SoftLimit = softlimit 
    352355        self.HardLimit = hardlimit 
     356        self.DateLimit = None 
    353357         
    354358    def reset(self) :     
     
    416420        self.SoftLimit = softlimit 
    417421        self.HardLimit = hardlimit 
     422        self.DateLimit = None 
    418423         
    419424class StorageJob(StorageObject) : 
  • pykota/trunk/pykota/storages/ldapstorage.py

    r1365 r1367  
    2222# 
    2323# $Log$ 
     24# Revision 1.58  2004/02/27 09:30:33  jalet 
     25# datelimit wasn't reset when modifying soft and hard limits with the LDAP backend 
     26# 
    2427# Revision 1.57  2004/02/26 14:18:07  jalet 
    2528# Should fix the remaining bugs wrt printers groups and users groups. 
     
    940943                   "pykotaSoftLimit" : str(softlimit), 
    941944                   "pykotaHardLimit" : str(hardlimit), 
     945                   "pykotaDateLimit" : "None", 
    942946                 } 
    943947        self.doModify(userpquota.ident, fields) 
     
    948952                   "pykotaSoftLimit" : str(softlimit), 
    949953                   "pykotaHardLimit" : str(hardlimit), 
     954                   "pykotaDateLimit" : "None", 
    950955                 } 
    951956        self.doModify(grouppquota.ident, fields)