Changeset 1240 for pykota/trunk/pykota/accounters/querying.py
- Timestamp:
- 12/27/03 17:49:25 (21 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/querying.py
r1239 r1240 22 22 # 23 23 # $Log$ 24 # Revision 1. 9 2003/12/27 15:43:36uid6746725 # S avannah is back online...24 # Revision 1.10 2003/12/27 16:49:25 uid67467 25 # Should be ok now. 26 26 # 27 27 # Revision 1.8 2003/11/21 14:28:46 jalet … … 70 70 """Returns the printer's internal page counter.""" 71 71 global MAXTRIES, TIMETOSLEEP 72 for i in range(MAXTRIES) : 72 self.filter.logdebug("Reading printer's internal page counter...") 73 for dummy in range(MAXTRIES) : 73 74 try : 74 75 counter = self.requester.getPrinterPageCounter(self.filter.printerhostname) … … 82 83 break 83 84 time.sleep(TIMETOSLEEP) 85 self.filter.logdebug("Printer's internal page counter value is : %s" % str(counter)) 84 86 return counter 85 87