Changeset 1692 for pykota/trunk/pykota/reporter.py
- Timestamp:
- 09/02/04 12:09:30 (20 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/reporter.py
r1582 r1692 22 22 # 23 23 # $Log$ 24 # Revision 1.10 2004/09/02 10:09:30 jalet 25 # Fixed bug in LDAP user deletion code which didn't correctly delete the user's 26 # pykotaLastJob entries. 27 # 24 28 # Revision 1.9 2004/07/01 17:45:49 jalet 25 29 # Added code to handle the description field for printers … … 88 92 89 93 def getPrinterRealPageCounter(self, printer) : 90 try : 91 msg = "%9i" % printer.LastJob.PrinterPageCounter 92 except TypeError : 93 msg = _("unknown") 94 msg = _("unknown") 95 if printer.LastJob.Exists : 96 try : 97 msg = "%9i" % printer.LastJob.PrinterPageCounter 98 except TypeError : 99 pass 94 100 return _("Real : %s") % msg 95 101