Changeset 3161 for pykota/trunk
- Timestamp:
- 04/10/07 23:42:38 (18 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/accounters/snmp.py
r3160 r3161 37 37 import time 38 38 import select 39 import socket 39 40 40 41 try : … … 254 255 tuple([int(i) for i in hrDeviceStatusOID.split('.')]), \ 255 256 tuple([int(i) for i in hrPrinterDetectedErrorStateOID.split('.')])) 257 except socket.gaierror, msg : 258 errorIndication = repr(msg) 256 259 except : 257 260 errorIndication = "Unknown SNMP/Network error. Check your wires."