Changeset 2342 for pykota/trunk/bin/pkbcodes
- Timestamp:
- 07/06/05 20:11:00 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pkbcodes
r2340 r2342 104 104 raise PyKotaToolError, "%s : %s" % (pwd.getpwuid(os.geteuid())[0], _("You're not allowed to use this command.")) 105 105 106 if options["list"]and not names :106 if (options["list"] or options["reset"]) and not names : 107 107 names = ["*"] 108 108 … … 113 113 if billingcode.Exists : 114 114 if options["skipexisting"] : 115 self.printInfo(_("Billing code [%s] already exists, skipping.") % billingcode. Name)115 self.printInfo(_("Billing code [%s] already exists, skipping.") % billingcode.BillingCode) 116 116 else : 117 self.printInfo(_("Billing code [%s] already exists, will be modified.") % billingcode. Name)117 self.printInfo(_("Billing code [%s] already exists, will be modified.") % billingcode.BillingCode) 118 118 billingcodes.append(billingcode) 119 119 else : … … 133 133 elif options["list"] : 134 134 print "%s [%s] %s %s %s %.2f %s" % \ 135 (billingcode. Name, billingcode.Description, \135 (billingcode.BillingCode, billingcode.Description, \ 136 136 billingcode.PageCounter, \ 137 137 _("pages"), \