- Timestamp:
- 02/23/08 22:29:40 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/bin/pkinvoice
r3341 r3346 165 165 """Generates the invoices file.""" 166 166 if len(peruser) : 167 percent = Percent(self) 168 percent.setSize(len(peruser)) 167 percent = Percent(self, size=len(peruser)) 169 168 if outfname != "-" : 170 169 percent.display("%s...\n" % _("Generating invoices")) … … 265 264 options.vat) 266 265 if outfname != "-" : 267 print _("Invoiced %i users for %i jobs, %i pages and %.3f credits") \ 268 % (len(peruser), nbjobs, nbpages, nbcredits) 266 nbusers = len(peruser) 267 print _("Invoiced %(nbusers)i users for %(nbjobs)i jobs, %(nbpages)i pages and %(nbcredits).3f credits") \ 268 % locals() 269 269 270 270 if __name__ == "__main__" :