Changeset 2180 for pykota/trunk

Show
Ignore:
Timestamp:
03/23/05 11:42:13 (20 years ago)
Author:
jerome
Message:

Fixed a problem with "warmup" status for some printers

Location:
pykota/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/NEWS

    r2179 r2180  
    2424    - 1.22alpha3 : 
    2525     
     26        - Fixes some problem for printers which directly go from 
     27          "idle" to "warmup" and never to "printing" before 
     28          returning to "idle". 
     29           
    2630        - Some permissions settings may have prevented cupspykota 
    2731          from parsing cupsd.conf, this is now fixed. 
  • pykota/trunk/pykota/accounters/hardware.py

    r2178 r2180  
    122122                self.retrieveSNMPValues() 
    123123                statusAsString = printerStatusValues.get(self.printerStatus) 
    124                 if statusAsString in ('printing',) : 
     124                if statusAsString in ('printing', 'warmup') : 
    125125                    break 
    126126                self.parent.filter.logdebug(_("Waiting for printer %s to be printing...") % self.parent.filter.printername)