Changeset 3163 for pykota/trunk/pykota/accounters/snmp.py
- Timestamp:
- 04/15/07 17:18:31 (17 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/snmp.py
r3162 r3163 211 211 while 1 : 212 212 self.retrieveSNMPValues() 213 if (self.printerInternalPageCounter is not None) \214 and self.skipinitialwait \215 and (os.environ.get("PYKOTAPHASE") == "BEFORE") :216 self.parent.filter.logdebug("No need to wait for the printer to be idle, this should be the case already.")217 return218 213 pstatusAsString = printerStatusValues.get(self.printerStatus) 219 214 dstatusAsString = deviceStatusValues.get(self.deviceStatus) … … 225 220 idle_flag = 1 # Standby / Powersave is considered idle 226 221 if idle_flag : 222 if (self.printerInternalPageCounter is not None) \ 223 and self.skipinitialwait \ 224 and (os.environ.get("PYKOTAPHASE") == "BEFORE") : 225 self.parent.filter.logdebug("No need to wait for the printer to be idle, it is the case already.") 226 return 227 227 idle_num += 1 228 228 if idle_num >= STABILIZATIONDELAY :