Changeset 1179 for pykota/trunk/bin/edpykota
- Timestamp:
- 11/12/03 14:06:38 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r1156 r1179 24 24 # 25 25 # $Log$ 26 # Revision 1.61 2003/11/12 13:06:35 jalet 27 # Bug fix wrt no user/group name command line argument to edpykota 28 # 26 29 # Revision 1.60 2003/10/09 21:25:24 jalet 27 30 # Multiple printer names or wildcards can be passed on the command line … … 448 451 raise PyKotaToolError, _("There's no printer matching %s") % pname 449 452 if not names : 450 if options["add"] and not printeradded : 451 raise PyKotaToolError, _("You have to pass user or group names on the command line") 453 if options["add"] : 454 if not printeradded : 455 raise PyKotaToolError, _("You have to pass user or group names on the command line") 456 else : 457 names = getattr(self.storage, "getAll%ssNames" % suffix)() 452 458 else : 453 459 names = [ "*" ] # all users