Show
Ignore:
Timestamp:
09/28/05 10:56:34 (19 years ago)
Author:
jerome
Message:

Fix to edpykota to have --noquota behave the same
as before : act on a single print quota entry at
a time, vs --limitby noquota which acts on all
print quota entries for a particular user.
The new (now old) behavior prevented to reset soft
and hard limits to None (unset).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/edpykota

    r2512 r2515  
    9999                       print quotas 
    100100                        
    101   -n | --noquota       Doesn't set a quota but only does accounting. 
    102                        This is the same as --limitby noquota. 
     101  -n | --noquota       Sets both soft and hard limits to None for a 
     102                       particular print quota entry. 
     103                       This is NOT the same as --limitby noquota 
     104                       which acts on ALL print quota entries for a 
     105                       particular user. 
    103106   
    104107  -r | --reset         Resets the actual page counter for the user 
     
    252255        softlimit = hardlimit = None 
    253256         
    254         if options["noquota"] : 
    255             options["limitby"] = "noquota" 
    256              
    257257        limitby = options["limitby"] 
    258258        if limitby :