Show
Ignore:
Timestamp:
01/21/05 15:40:01 (19 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 :-)

Files:
1 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 = []