Show
Ignore:
Timestamp:
01/18/05 20:47:50 (19 years ago)
Author:
jalet
Message:

Big bug fix wrt the datelimit attribute

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/edpykota

    r2028 r2030  
    2424# 
    2525# $Log$ 
     26# Revision 1.85  2005/01/18 19:47:49  jalet 
     27# Big bug fix wrt the datelimit attribute 
     28# 
    2629# Revision 1.84  2005/01/17 08:44:23  jalet 
    2730# Modified copyright years 
     
    691694                            changed[entry.Name]["limitby"] = limitby 
    692695                     
     696                    if options["reset"] : 
     697                        entrypquota.reset() 
     698                         
     699                    if options["hardreset"] :     
     700                        entrypquota.hardreset() 
     701                         
    693702                    if not options["groups"] : 
    694                         if options["reset"] : 
    695                             entrypquota.reset() 
    696                         if options["hardreset"] :     
    697                             entrypquota.hardreset() 
    698703                        if options["used"] : 
    699704                            entrypquota.setUsage(used) 
     
    773778        elif options["noquota"] and (options["prototype"] or options["hardlimit"] or options["softlimit"]) : 
    774779            raise PyKotaToolError, _("incompatible options, see help.") 
    775         elif options["groups"] and (options["balance"] or options["ingroups"] or options["used"] or options["reset"] or options["hardreset"]) : 
     780        elif options["groups"] and (options["balance"] or options["ingroups"] or options["used"]) : 
    776781            raise PyKotaToolError, _("incompatible options, see help.") 
    777782        else :