Changeset 2202
- Timestamp:
- 04/12/05 10:44:04 (20 years ago)
- Location:
- pykota/trunk
- Files:
-
- 3 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/NEWS
r2195 r2202 22 22 PyKota NEWS : 23 23 24 - 1.22alpha5 : 25 26 - SNMP and PJL improvements with regard to PowerSave / StandBy. 27 24 28 - 1.22alpha4 : 25 29 -
pykota/trunk/pykota/accounters/hardware.py
r2200 r2202 154 154 while 1 : 155 155 self.retrieveSNMPValues() 156 statusAsString = printerStatusValues.get(self.printerStatus) 156 pstatusAsString = printerStatusValues.get(self.printerStatus) 157 dstatusAsString = deviceStatusValues.get(self.deviceStatus) 157 158 idle_flag = 0 158 if statusAsString in ('idle',) : 159 idle_flag = 1 159 if (pstatusAsString == 'idle') or \ 160 ((pstatusAsString == 'other') and \ 161 (dstatusAsString == 'running')) : 162 idle_flag = 1 # Standby / Powersave is considered idle 160 163 if idle_flag : 161 164 idle_num += 1 -
pykota/trunk/pykota/version.py
r2193 r2202 22 22 # 23 23 24 __version__ = "1.22alpha 4_unofficial"24 __version__ = "1.22alpha5_unofficial" 25 25 26 26 __doc__ = """PyKota : a complete Printing Quota Solution for CUPS and LPRng."""