Show
Ignore:
Timestamp:
01/17/06 14:45:27 (18 years ago)
Author:
jerome
Message:

Now unconditionally aborts pjl or snmp querying on any exception.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/pykota/accounters/snmp.py

    r2622 r2625  
    204204                self.waitIdle()     
    205205            except :     
    206                 if self.printerInternalPageCounter is None : 
    207                     raise 
    208                 else :     
    209                     self.parent.filter.printInfo(_("SNMP querying stage interrupted. Using latest value seen for internal page counter (%s) on printer %s.") % (self.printerInternalPageCounter, self.parent.filter.PrinterName), "warn") 
     206                self.parent.filter.printInfo(_("SNMP querying stage interrupted. Using latest value seen for internal page counter (%s) on printer %s.") % (self.printerInternalPageCounter, self.parent.filter.PrinterName), "warn") 
     207                raise 
    210208            return self.printerInternalPageCounter 
    211209