- Timestamp:
- 06/17/05 15:16:48 (19 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/snmp.py
r2305 r2319 29 29 import os 30 30 import time 31 import select 31 32 32 33 try : … … 83 84 try : 84 85 tsp.sendAndReceive(req.berEncode(), (self.printerHostname, 161), (self.handleAnswer, req)) 85 except SnmpOverUdpError, msg :86 except (SnmpOverUdpError, select.error), msg : 86 87 self.parent.filter.printInfo(_("Network error while doing SNMP queries on printer %s : %s") % (self.printerHostname, msg), "warn") 87 88 tsp.close()