diff options
Diffstat (limited to 'examples/v3arch/asyncore/agent/cmdrsp/custom-snmp-engine-id.py')
-rw-r--r-- | examples/v3arch/asyncore/agent/cmdrsp/custom-snmp-engine-id.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/v3arch/asyncore/agent/cmdrsp/custom-snmp-engine-id.py b/examples/v3arch/asyncore/agent/cmdrsp/custom-snmp-engine-id.py index bd54caed..fd51542f 100644 --- a/examples/v3arch/asyncore/agent/cmdrsp/custom-snmp-engine-id.py +++ b/examples/v3arch/asyncore/agent/cmdrsp/custom-snmp-engine-id.py @@ -60,6 +60,6 @@ snmpEngine.transportDispatcher.jobStarted(1) # Run I/O dispatcher which would receive queries and send responses try: snmpEngine.transportDispatcher.runDispatcher() -except: + +finally: snmpEngine.transportDispatcher.closeDispatcher() - raise |