Changeset 820
- Timestamp:
- 02/27/03 10:37:02 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r815 r820 17 17 # 18 18 # $Log$ 19 # Revision 1.22 2003/02/27 09:37:02 jalet 20 # Wildcards seem to work now 21 # 19 22 # Revision 1.21 2003/02/27 09:04:46 jalet 20 23 # user and group names can be passed as wildcards if the --add option … … 232 235 if (not options["reset"]) and ((hardlimit is None) or (softlimit is None)) : 233 236 raise PyKotaToolError, _("Both hard and soft limits must be set ! Aborting.") 234 if options["users"] : 235 allnames = self.storage.getPrinterUsers(printer) 236 else : 237 allnames = self.storage.getPrinterGroups(printer) 237 if options["add"] : 238 allnames = names 239 else : 240 if options["users"] : 241 allnames = self.storage.getPrinterUsers(printer) 242 else : 243 allnames = self.storage.getPrinterGroups(printer) 238 244 for name in [n for n in allnames if self.matchString(n, names)]: 239 245 if options["users"] :