diff options
author | Ilya Etingof <etingof@gmail.com> | 2016-04-05 23:06:55 +0200 |
---|---|---|
committer | Ilya Etingof <etingof@gmail.com> | 2016-04-05 23:06:55 +0200 |
commit | aa91642cc3e8723439c9e55f16c20735b0d1668d (patch) | |
tree | 3be630baf5b51d99f88c506fac44c85972e86beb /examples | |
parent | 7de993c90e76faa76aad2f3ad4d62788a87c20ba (diff) | |
download | pysnmp-git-aa91642cc3e8723439c9e55f16c20735b0d1668d.tar.gz |
pep8 reformatted
Diffstat (limited to 'examples')
-rw-r--r-- | examples/v3arch/asyncore/agent/cmdrsp/custom-mib-controller.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |