summaryrefslogtreecommitdiff
path: root/examples/smi
diff options
context:
space:
mode:
authorIlya Etingof <etingof@gmail.com>2016-03-30 23:29:55 +0200
committerIlya Etingof <etingof@gmail.com>2016-03-30 23:29:55 +0200
commit8e655f46e39b78290818345bb07e98dbe7b063b9 (patch)
treeb4053b17e0df7eac0b84a7f21314f24ded43ea95 /examples/smi
parent39dac83818d73bdb78e47b005903a86966bd1f55 (diff)
downloadpysnmp-git-8e655f46e39b78290818345bb07e98dbe7b063b9.tar.gz
pep8 fixes
Diffstat (limited to 'examples/smi')
-rw-r--r--examples/smi/agent/custom-managed-object.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/smi/agent/custom-managed-object.py b/examples/smi/agent/custom-managed-object.py
index a5abda7c..56fd15c8 100644
--- a/examples/smi/agent/custom-managed-object.py
+++ b/examples/smi/agent/custom-managed-object.py
@@ -19,6 +19,7 @@ sysLocation, = mibBuilder.importSymbols('SNMPv2-MIB', 'sysLocation')
# Custom Managed Object
class MySysLocationInstance(MibScalarInstance):
+ # noinspection PyUnusedLocal
def readGet(self, name, *args):
# Just return a custom value
return name, self.syntax.clone('The Leaky Cauldron')