summaryrefslogtreecommitdiff
path: root/examples/smi/agent/custom-managed-object.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/smi/agent/custom-managed-object.py')
-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')