summaryrefslogtreecommitdiff
path: root/examples/hlapi/twisted/manager/cmdgen/getbulk-to-eom.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/hlapi/twisted/manager/cmdgen/getbulk-to-eom.py')
-rw-r--r--examples/hlapi/twisted/manager/cmdgen/getbulk-to-eom.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/hlapi/twisted/manager/cmdgen/getbulk-to-eom.py b/examples/hlapi/twisted/manager/cmdgen/getbulk-to-eom.py
index e2b3ebb7..d3675451 100644
--- a/examples/hlapi/twisted/manager/cmdgen/getbulk-to-eom.py
+++ b/examples/hlapi/twisted/manager/cmdgen/getbulk-to-eom.py
@@ -20,7 +20,9 @@ from twisted.internet.task import react
from pysnmp.hlapi.twisted import *
-def success((errorStatus, errorIndex, varBindTable), reactor, snmpEngine):
+def success(args, reactor, snmpEngine):
+ (errorStatus, errorIndex, varBindTable) = args
+
if errorStatus:
print('%s: %s at %s' % (hostname,
errorStatus.prettyPrint(),