Show
Ignore:
Timestamp:
04/08/03 23:31:39 (21 years ago)
Author:
jalet
Message:

(anything or 0) = anything !!! Go back to school Jerome !

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/bin/edpykota

    r891 r895  
    2323# 
    2424# $Log$ 
     25# Revision 1.32  2003/04/08 21:31:39  jalet 
     26# (anything or 0) = anything !!! Go back to school Jerome ! 
     27# 
    2528# Revision 1.31  2003/04/08 21:13:44  jalet 
    2629# Prepare --groups option to work. 
     
    330333    try : 
    331334        defaults = { \ 
    332                      "users"  : 0, \ 
    333                      "groups" : 0, \ 
    334335                     "printer" : "*", \ 
    335336                   } 
     
    347348        options["version"] = options["v"] or options["version"] 
    348349        options["add"] = options["a"] or options["add"] 
    349         options["users"] = options["u"] or options["users"] or defaults["users"] 
    350         options["groups"] = options["g"] or options["groups"] or defaults["groups"] 
     350        options["users"] = options["u"] or options["users"] 
     351        options["groups"] = options["g"] or options["groups"] 
    351352        options["prototype"] = options["p"] or options["prototype"] 
    352353        options["printer"] = options["P"] or options["printer"] or defaults["printer"]