summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2014-06-09 14:28:29 +0000
committerelie <elie>2014-06-09 14:28:29 +0000
commit766ec98f805ab1bf4776ee9822a6b298100bc0ba (patch)
treef0c538071443867104184ca67692e56e0f4b9a28
parent8ccf35c5251291ca5829a038f1cd2a071847408b (diff)
downloadpysnmp-766ec98f805ab1bf4776ee9822a6b298100bc0ba.tar.gz
fix to CB stack unwinding
-rw-r--r--pysnmp/entity/rfc3413/cmdgen.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/pysnmp/entity/rfc3413/cmdgen.py b/pysnmp/entity/rfc3413/cmdgen.py
index 0ea6467..64d4a89 100644
--- a/pysnmp/entity/rfc3413/cmdgen.py
+++ b/pysnmp/entity/rfc3413/cmdgen.py
@@ -133,6 +133,7 @@ class CommandGenerator:
except StatusInformation:
statusInformation = sys.exc_info()[1]
debug.logger & debug.flagApp and debug.logger('processResponsePdu: origSendRequestHandle %s, _sendPdu() failed with %r' % (sendPduHandle, statusInformation))
+ origSendRequestHandle, cbFun, cbCtx = cbCtx
cbFun(snmpEngine,
origSendRequestHandle,
statusInformation['errorIndication'],