Changeset 2658
- Timestamp:
- 02/09/06 09:45:53 (19 years ago)
- Location:
- pykota/trunk/bin
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/edpykota
r2657 r2658 254 254 255 255 if options["delete"] : 256 if not names : 257 raise PyKotaCommandLineError, _("You have to pass user or group names on the command line") 258 self.display("Processing...\n") 256 self.display("%s...\n" % _("Processing")) 259 257 todelete = getattr(self.storage, "getMatching%ss" % suffix)(",".join(names)) 260 258 nbtotal = len(todelete) … … 616 614 elif options["comment"] and not options["balance"] : 617 615 raise PyKotaCommandLineError, _("incompatible options, see help.") 616 elif options["delete"] and not args : 617 raise PyKotaCommandLineError, _("You have to pass user or group names on the command line") 618 618 else : 619 619 retcode = editor.main(args, options) -
pykota/trunk/bin/pkbcodes
r2657 r2658 90 90 91 91 if options["delete"] : 92 self.display(" Processing...\n")92 self.display("%s...\n" % _("Processing")) 93 93 todelete = self.storage.getMatchingBillingCodes(",".join(names)) 94 94 nbtotal = len(todelete) -
pykota/trunk/bin/pkprinters
r2657 r2658 130 130 131 131 if options["delete"] : 132 self.display(" Processing...\n")132 self.display("%s...\n" % _("Processing")) 133 133 todelete = self.storage.getMatchingPrinters(",".join(names)) 134 134 nbtotal = len(todelete)