Changeset 2036 for pykota/trunk

Show
Ignore:
Timestamp:
01/21/05 15:40:01 (20 years ago)
Author:
jalet
Message:

edpykota's --delete command line tool doesn't use "*" as its default argument
anymore when the user doesn't pass any real argument :-)

Location:
pykota/trunk
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/edpykota

    r2030 r2036  
    2424# 
    2525# $Log$ 
     26# Revision 1.86  2005/01/21 14:40:01  jalet 
     27# edpykota's --delete command line tool doesn't use "*" as its default argument 
     28# anymore when the user doesn't pass any real argument :-) 
     29# 
    2630# Revision 1.85  2005/01/18 19:47:49  jalet 
    2731# Big bug fix wrt the datelimit attribute 
     
    583587                else :     
    584588                    names = getattr(self.storage, "getAll%ssNames" % suffix)() 
    585             else :     
    586                 names = [ "*" ] # all users 
     589            elif options["delete"] :     
     590                raise PyKotaToolError, _("You have to pass user or group names on the command line") 
     591            else : 
     592                names = [ "*" ] # all users or groups 
    587593                 
    588594        printersgroups = []         
  • pykota/trunk/NEWS

    r2032 r2036  
    2222PyKota NEWS : 
    2323 
     24    - 1.21alpha22 : 
     25     
     26        - edpykota's --delete command line option doesn't consider 
     27          '*' to be the default argument anymore :-) 
     28           
    2429    - 1.21alpha21 : 
    2530     
  • pykota/trunk/pykota/version.py

    r2032 r2036  
    2222# 
    2323 
    24 __version__ = "1.21alpha21_unofficial" 
     24__version__ = "1.21alpha22_unofficial" 
    2525 
    2626__doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""