summaryrefslogtreecommitdiff
path: root/examples/smi
diff options
context:
space:
mode:
authorelie <elie>2006-05-21 11:30:17 +0000
committerelie <elie>2006-05-21 11:30:17 +0000
commit231e66b6f7afdd8f9f39db57a0227ff2d16a9fae (patch)
treef2b4e6ad6d4d6fec70050d5efa5c6dc5b91740ec /examples/smi
parent64e205a05d8a9a70c98daae4990ecb2ada36ae74 (diff)
downloadpysnmp-git-231e66b6f7afdd8f9f39db57a0227ff2d16a9fae.tar.gz
hide readGet() args
Diffstat (limited to 'examples/smi')
-rw-r--r--examples/smi/agent/custom-managed-object.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smi/agent/custom-managed-object.py b/examples/smi/agent/custom-managed-object.py
index 51d2a062..b1c28498 100644
--- a/examples/smi/agent/custom-managed-object.py
+++ b/examples/smi/agent/custom-managed-object.py
@@ -19,7 +19,7 @@ sysLocation, = mibBuilder.importSymbols('SNMPv2-MIB', 'sysLocation')
# Custom Managed Object
class MySysLocationInstance(MibScalarInstance):
- def readGet(self, name, val, idx, (acFun, acCtx)):
+ def readGet(self, name, *args):
# Just return a custom value
return name, self.syntax.clone('The Leaky Cauldron')