From aa91642cc3e8723439c9e55f16c20735b0d1668d Mon Sep 17 00:00:00 2001 From: Ilya Etingof Date: Tue, 5 Apr 2016 23:06:55 +0200 Subject: pep8 reformatted --- examples/v3arch/asyncore/agent/cmdrsp/custom-mib-controller.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/v3arch/asyncore/agent/cmdrsp/custom-mib-controller.py b/examples/v3arch/asyncore/agent/cmdrsp/custom-mib-controller.py index 54aec899..1a03e725 100644 --- a/examples/v3arch/asyncore/agent/cmdrsp/custom-mib-controller.py +++ b/examples/v3arch/asyncore/agent/cmdrsp/custom-mib-controller.py @@ -53,8 +53,8 @@ snmpContext = context.SnmpContext(snmpEngine) # any Managed Objects attached. It supports only GET's and # always echos request var-binds in response. class EchoMibInstrumController(instrum.AbstractMibInstrumController): - def readVars(self, vars, acInfo=(None, None)): - return [(ov[0], v2c.OctetString('You queried OID %s' % ov[0])) for ov in vars] + def readVars(self, varBinds, acInfo=(None, None)): + return [(ov[0], v2c.OctetString('You queried OID %s' % ov[0])) for ov in varBinds] # Create a custom Management Instrumentation Controller and register at -- cgit v1.2.1