summaryrefslogtreecommitdiff
path: root/pysnmp/entity/rfc3413/cmdgen.py
diff options
context:
space:
mode:
authorelie <elie>2010-07-10 10:10:47 +0000
committerelie <elie>2010-07-10 10:10:47 +0000
commitade4babfaa6bca1d0d24f20492b397a686dfa025 (patch)
tree1fb473f155ec59896b40ed2ac587e796e463badf /pysnmp/entity/rfc3413/cmdgen.py
parent5fa1bcb88ac1593ddca212705a278d24fd8068a7 (diff)
downloadpysnmp-ade4babfaa6bca1d0d24f20492b397a686dfa025.tar.gz
typo
Diffstat (limited to 'pysnmp/entity/rfc3413/cmdgen.py')
-rw-r--r--pysnmp/entity/rfc3413/cmdgen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pysnmp/entity/rfc3413/cmdgen.py b/pysnmp/entity/rfc3413/cmdgen.py
index f09ae76..c4c58c9 100644
--- a/pysnmp/entity/rfc3413/cmdgen.py
+++ b/pysnmp/entity/rfc3413/cmdgen.py
@@ -90,7 +90,7 @@ class CommandGeneratorBase:
origContextName and origContextName != contextName or \
origPduVersion != pduVersion:
debug.logger & debug.flagApp and debug.logger('processResponsePdu: sendPduHandle %s, request/response data mismatch' % sendPduHandle)
- cbFun(origSendRequestHandle, 'badResponse'], 0, 0, (), cbCtx)
+ cbFun(origSendRequestHandle, 'badResponse', 0, 0, (), cbCtx)
return
pMod = api.protoModules[pduVersion]
@@ -98,7 +98,7 @@ class CommandGeneratorBase:
# 3.1.2
if pMod.apiPDU.getRequestID(PDU) != pMod.apiPDU.getRequestID(origPdu):
debug.logger & debug.flagApp and debug.logger('processResponsePdu: sendPduHandle %s, request-id/response-id mismatch' % sendPduHandle)
- cbFun(origSendRequestHandle, 'badResponse'], 0, 0, (), cbCtx)
+ cbFun(origSendRequestHandle, 'badResponse', 0, 0, (), cbCtx)
return
# User-side API assumes SMIv2