Fixed some typos in arguments with previous commit

pull/35/head
Gerrat Rickert 2016-12-21 17:48:46 -05:00
parent 7023d87738
commit d27e528dd2
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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):