Changeset 2515

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).

Location:
pykota/trunk
Files:
15 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 : 
  • pykota/trunk/po/de/pykota.po

    r2503 r2515  
    448448"                       print quotas\n" 
    449449"                       \n" 
    450 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    451 "                       This is the same as --limitby noquota.\n" 
     450"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     451"                       particular print quota entry.\n" 
     452"                       This is NOT the same as --limitby noquota\n" 
     453"                       which acts on ALL print quota entries for a\n" 
     454"                       particular user.\n" 
    452455"  \n" 
    453456"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/el_GR/pykota.po

    r2503 r2515  
    446446"                       print quotas\n" 
    447447"                       \n" 
    448 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    449 "                       This is the same as --limitby noquota.\n" 
     448"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     449"                       particular print quota entry.\n" 
     450"                       This is NOT the same as --limitby noquota\n" 
     451"                       which acts on ALL print quota entries for a\n" 
     452"                       particular user.\n" 
    450453"  \n" 
    451454"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/es/pykota.po

    r2503 r2515  
    462462"                       print quotas\n" 
    463463"                       \n" 
    464 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    465 "                       This is the same as --limitby noquota.\n" 
     464"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     465"                       particular print quota entry.\n" 
     466"                       This is NOT the same as --limitby noquota\n" 
     467"                       which acts on ALL print quota entries for a\n" 
     468"                       particular user.\n" 
    466469"  \n" 
    467470"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/fr/pykota.po

    r2503 r2515  
    600600"                       print quotas\n" 
    601601"                       \n" 
    602 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    603 "                       This is the same as --limitby noquota.\n" 
     602"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     603"                       particular print quota entry.\n" 
     604"                       This is NOT the same as --limitby noquota\n" 
     605"                       which acts on ALL print quota entries for a\n" 
     606"                       particular user.\n" 
    604607"  \n" 
    605608"  -r | --reset         Resets the actual page counter for the user\n" 
     
    823826"                       pour positionner le quota d'impression.\n" 
    824827"                       \n" 
    825 "  -n | --noquota       Ne d�nit aucun quota, mais laisse le d�mpte " 
    826 "actif. Fait la m� chose que --limitby noquota.\n" 
     828"  -n | --noquota       Fixe les limites souples et dures �one pour une\n" 
     829"                       entr�de quota d'impression particuli�.\n" 
     830"                       NE FAIT PAS la m� chose que --limitby noquota qui\n" 
     831"                       agit sur toutes les entr� de quotas d'impression\n" 
     832"                       d'un utilisateur donn�n" 
    827833"  \n" 
    828834"  -r | --reset         Remet �� le compteur de pages courant pour\n" 
  • pykota/trunk/po/it/pykota.po

    r2503 r2515  
    450450"                       print quotas\n" 
    451451"                       \n" 
    452 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    453 "                       This is the same as --limitby noquota.\n" 
     452"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     453"                       particular print quota entry.\n" 
     454"                       This is NOT the same as --limitby noquota\n" 
     455"                       which acts on ALL print quota entries for a\n" 
     456"                       particular user.\n" 
    454457"  \n" 
    455458"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/nb_NO/pykota.po

    r2503 r2515  
    458458"                       print quotas\n" 
    459459"                       \n" 
    460 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    461 "                       This is the same as --limitby noquota.\n" 
     460"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     461"                       particular print quota entry.\n" 
     462"                       This is NOT the same as --limitby noquota\n" 
     463"                       which acts on ALL print quota entries for a\n" 
     464"                       particular user.\n" 
    462465"  \n" 
    463466"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/pt_BR/pykota.po

    r2503 r2515  
    445445"                       print quotas\n" 
    446446"                       \n" 
    447 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    448 "                       This is the same as --limitby noquota.\n" 
     447"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     448"                       particular print quota entry.\n" 
     449"                       This is NOT the same as --limitby noquota\n" 
     450"                       which acts on ALL print quota entries for a\n" 
     451"                       particular user.\n" 
    449452"  \n" 
    450453"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/pt/pykota.po

    r2503 r2515  
    445445"                       print quotas\n" 
    446446"                       \n" 
    447 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    448 "                       This is the same as --limitby noquota.\n" 
     447"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     448"                       particular print quota entry.\n" 
     449"                       This is NOT the same as --limitby noquota\n" 
     450"                       which acts on ALL print quota entries for a\n" 
     451"                       particular user.\n" 
    449452"  \n" 
    450453"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/pykota.pot

    r2502 r2515  
    428428"                       print quotas\n" 
    429429"                       \n" 
    430 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    431 "                       This is the same as --limitby noquota.\n" 
     430"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     431"                       particular print quota entry.\n" 
     432"                       This is NOT the same as --limitby noquota\n" 
     433"                       which acts on ALL print quota entries for a\n" 
     434"                       particular user.\n" 
    432435"  \n" 
    433436"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/sv_SE/pykota.po

    r2503 r2515  
    447447"                       print quotas\n" 
    448448"                       \n" 
    449 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    450 "                       This is the same as --limitby noquota.\n" 
     449"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     450"                       particular print quota entry.\n" 
     451"                       This is NOT the same as --limitby noquota\n" 
     452"                       which acts on ALL print quota entries for a\n" 
     453"                       particular user.\n" 
    451454"  \n" 
    452455"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/th/pykota.po

    r2503 r2515  
    441441"                       print quotas\n" 
    442442"                       \n" 
    443 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    444 "                       This is the same as --limitby noquota.\n" 
     443"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     444"                       particular print quota entry.\n" 
     445"                       This is NOT the same as --limitby noquota\n" 
     446"                       which acts on ALL print quota entries for a\n" 
     447"                       particular user.\n" 
    445448"  \n" 
    446449"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/tr/pykota.po

    r2503 r2515  
    450450"                       print quotas\n" 
    451451"                       \n" 
    452 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    453 "                       This is the same as --limitby noquota.\n" 
     452"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     453"                       particular print quota entry.\n" 
     454"                       This is NOT the same as --limitby noquota\n" 
     455"                       which acts on ALL print quota entries for a\n" 
     456"                       particular user.\n" 
    454457"  \n" 
    455458"  -r | --reset         Resets the actual page counter for the user\n" 
  • pykota/trunk/po/zh_TW/pykota.po

    r2503 r2515  
    432432"                       print quotas\n" 
    433433"                       \n" 
    434 "  -n | --noquota       Doesn't set a quota but only does accounting.\n" 
    435 "                       This is the same as --limitby noquota.\n" 
     434"  -n | --noquota       Sets both soft and hard limits to None for a\n" 
     435"                       particular print quota entry.\n" 
     436"                       This is NOT the same as --limitby noquota\n" 
     437"                       which acts on ALL print quota entries for a\n" 
     438"                       particular user.\n" 
    436439"  \n" 
    437440"  -r | --reset         Resets the actual page counter for the user\n"