summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerrat Rickert <grickert@coldstorage.com>2016-12-21 17:48:46 -0500
committerGerrat Rickert <grickert@coldstorage.com>2016-12-21 17:48:46 -0500
commitd27e528dd2495b6ec7fab75e9df4c2e48b3d534d (patch)
tree3857d43c663b4ecc6fa4a45466a88c2330b91cdc
parent7023d87738b298c6b6588dedebdead26b65904a4 (diff)
downloadpysnmp-git-d27e528dd2495b6ec7fab75e9df4c2e48b3d534d.tar.gz
Fixed some typos in arguments with previous commit
-rw-r--r--examples/hlapi/twisted/manager/cmdgen/multiple-concurrent-queries.py2
-rw-r--r--pysnmp/hlapi/twisted/cmdgen.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/hlapi/twisted/manager/cmdgen/multiple-concurrent-queries.py b/examples/hlapi/twisted/manager/cmdgen/multiple-concurrent-queries.py
index 92317cac..07fb08ea 100644
--- a/examples/hlapi/twisted/manager/cmdgen/multiple-concurrent-queries.py
+++ b/examples/hlapi/twisted/manager/cmdgen/multiple-concurrent-queries.py
@@ -23,7 +23,7 @@ from pysnmp.hlapi.twisted import *
def success(args, hostname):
- (errorStatus, errorIndex, varBindTable) = args
+ (errorStatus, errorIndex, varBinds) = args
if errorStatus:
print('%s: %s at %s' % (hostname,
diff --git a/pysnmp/hlapi/twisted/cmdgen.py b/pysnmp/hlapi/twisted/cmdgen.py
index edc3afef..61528118 100644
--- a/pysnmp/hlapi/twisted/cmdgen.py
+++ b/pysnmp/hlapi/twisted/cmdgen.py
@@ -317,7 +317,7 @@ def nextCmd(snmpEngine, authData, transportTarget, contextData,
>>> from pysnmp.hlapi.twisted import *
>>>
>>> def success(args):
- ... (errorStatus, errorIndex, varBinds) = args
+ ... (errorStatus, errorIndex, varBindTable) = args
... print(errorStatus, errorIndex, varBindTable)
...
>>> def failure(errorIndication):
@@ -443,7 +443,7 @@ def bulkCmd(snmpEngine, authData, transportTarget, contextData,
>>> from pysnmp.hlapi.twisted import *
>>>
>>> def success(args):
- ... (errorStatus, errorIndex, varBinds) = args
+ ... (errorStatus, errorIndex, varBindTable) = args
... print(errorStatus, errorIndex, varBindTable)
...
>>> def failure(errorIndication):