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
commit5302b7a1aac9499b0da4c1682b189ec1010de65f (patch)
treedb6d3be8df4ff42d955e568b9c0111fbe2d96add /examples/smi
parent4803d96acc032c6c0efa4876289db507f99fc075 (diff)
downloadpysnmp-5302b7a1aac9499b0da4c1682b189ec1010de65f.tar.gz
hide readGet() args
Diffstat (limited to 'examples/smi')
-rw-r--r--examples/smi/instrum.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smi/instrum.py b/examples/smi/instrum.py
index 51d2a06..b1c2849 100644
--- a/examples/smi/instrum.py
+++ b/examples/smi/instrum.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')