Changeset 2225 for pykota/trunk
- Timestamp:
- 05/03/05 23:18:00 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r2216 r2225 330 330 raise PyKotaToolError, _("There's no printer matching %s") % pname 331 331 if not names : 332 if options["add"] : 333 if not printeradded : 334 raise PyKotaToolError, _("You have to pass user or group names on the command line") 335 else : 336 names = getattr(self.storage, "getAll%ssNames" % suffix)() 337 elif options["delete"] : 332 if options["delete"] : 338 333 raise PyKotaToolError, _("You have to pass user or group names on the command line") 339 334 else : 340 names = [ "*" ]# all users or groups335 names = getattr(self.storage, "getAll%ssNames" % suffix)() # all users or groups 341 336 342 337 printersgroups = []