Changeset 950 for pykota/trunk/bin
- Timestamp:
- 04/23/03 11:58:17 (22 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/repykota
r949 r950 23 23 # 24 24 # $Log$ 25 # Revision 1.31 2003/04/23 09:58:17 jalet 26 # Prices per page/job are now displayed 27 # 25 28 # Revision 1.30 2003/04/18 08:34:51 jalet 26 29 # Minor fix. … … 187 190 for (printerid, printer) in printers : 188 191 print _("*** Report for %s quota on printer %s") % ((options["groups"] and "group") or "user", printer) 189 print _("Pages grace time: %idays") % self.config.getGraceDelay(printer) 192 print _("Pages grace time: %i days") % self.config.getGraceDelay(printer) 193 prices = self.storage.getPrinterPrices(printerid) 194 if prices is None : 195 (perpage, perjob) = None 196 else : 197 (perpage, perjob) = prices 198 if perjob is not None : 199 print _("Price per job: %.3f") % perjob 200 if perpage is not None : 201 print _("Price per page: %.3f") % perpage 190 202 total = 0 191 203 totalmoney = 0.0