Changeset 895
- Timestamp:
- 04/08/03 23:31:39 (22 years ago)
- Location:
- pykota/trunk/bin
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r891 r895 23 23 # 24 24 # $Log$ 25 # Revision 1.32 2003/04/08 21:31:39 jalet 26 # (anything or 0) = anything !!! Go back to school Jerome ! 27 # 25 28 # Revision 1.31 2003/04/08 21:13:44 jalet 26 29 # Prepare --groups option to work. … … 330 333 try : 331 334 defaults = { \ 332 "users" : 0, \333 "groups" : 0, \334 335 "printer" : "*", \ 335 336 } … … 347 348 options["version"] = options["v"] or options["version"] 348 349 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"] 351 352 options["prototype"] = options["p"] or options["prototype"] 352 353 options["printer"] = options["P"] or options["printer"] or defaults["printer"] -
pykota/trunk/bin/repykota
r891 r895 23 23 # 24 24 # $Log$ 25 # Revision 1.20 2003/04/08 21:31:39 jalet 26 # (anything or 0) = anything !!! Go back to school Jerome ! 27 # 25 28 # Revision 1.19 2003/04/08 21:13:44 jalet 26 29 # Prepare --groups option to work. … … 198 201 try : 199 202 defaults = { \ 200 "users" : 0, \201 "groups" : 0, \202 203 "printer" : "*", \ 203 204 } … … 214 215 options["help"] = options["h"] or options["help"] 215 216 options["version"] = options["v"] or options["version"] 216 options["users"] = options["u"] or options["users"] or defaults["users"]217 options["groups"] = options["g"] or options["groups"] or defaults["groups"]217 options["users"] = options["u"] or options["users"] 218 options["groups"] = options["g"] or options["groups"] 218 219 options["printer"] = options["P"] or options["printer"] or defaults["printer"] 219 220 -
pykota/trunk/bin/warnpykota
r891 r895 23 23 # 24 24 # $Log$ 25 # Revision 1.14 2003/04/08 21:31:39 jalet 26 # (anything or 0) = anything !!! Go back to school Jerome ! 27 # 25 28 # Revision 1.13 2003/04/08 21:13:44 jalet 26 29 # Prepare --groups option to work. … … 145 148 try : 146 149 defaults = { \ 147 "users" : 0, \148 "groups" : 0, \149 150 "printer" : "*", \ 150 151 } … … 161 162 options["help"] = options["h"] or options["help"] 162 163 options["version"] = options["v"] or options["version"] 163 options["users"] = options["u"] or options["users"] or defaults["users"]164 options["groups"] = options["g"] or options["groups"] or defaults["groups"]164 options["users"] = options["u"] or options["users"] 165 options["groups"] = options["g"] or options["groups"] 165 166 options["printer"] = options["P"] or options["printer"] or defaults["printer"] 166 167