summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2005-10-10 14:34:44 +0000
committerelie <elie>2005-10-10 14:34:44 +0000
commit63b8c5bd37028cf8243288a7ec552ad907b13e1c (patch)
tree03373d5153f491d2dc15eff1fda88b9c829ea10a
parentce9b7eda984241bdfc023bc9c3444237fc06d232 (diff)
downloadpysnmp-63b8c5bd37028cf8243288a7ec552ad907b13e1c.tar.gz
no context to pass back to cb
-rw-r--r--pysnmp/entity/rfc3413/ntforg.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/pysnmp/entity/rfc3413/ntforg.py b/pysnmp/entity/rfc3413/ntforg.py
index 7b9a5c3..ff8d1ff 100644
--- a/pysnmp/entity/rfc3413/ntforg.py
+++ b/pysnmp/entity/rfc3413/ntforg.py
@@ -23,8 +23,7 @@ class NotificationOriginator:
pduVersion,
PDU,
statusInformation,
- sendPduHandle,
- cbCtx
+ sendPduHandle
):
# 3.3.6d
( origTransportDomain,
@@ -63,7 +62,7 @@ class NotificationOriginator:
origRetryCount,
origRetries,
origSendRequestHandle,
- (self.processResponsePdu, cbCtx)
+ self.processResponsePdu
)
return
@@ -76,8 +75,7 @@ class NotificationOriginator:
notificationTarget,
notificationName,
additionalVarBinds=None,
- contextName='',
- cbCtx=None
+ contextName=''
):
# 3.3
( notifyTag,
@@ -184,7 +182,7 @@ class NotificationOriginator:
contextName,
pduVersion,
pdu,
- (self.processResponsePdu, (cbFun, cbCtx))
+ self.processResponsePdu
)
# 3.3.6b