diff options
author | elie <elie> | 2006-05-21 11:30:17 +0000 |
---|---|---|
committer | elie <elie> | 2006-05-21 11:30:17 +0000 |
commit | 5302b7a1aac9499b0da4c1682b189ec1010de65f (patch) | |
tree | db6d3be8df4ff42d955e568b9c0111fbe2d96add /examples/smi | |
parent | 4803d96acc032c6c0efa4876289db507f99fc075 (diff) | |
download | pysnmp-5302b7a1aac9499b0da4c1682b189ec1010de65f.tar.gz |
hide readGet() args
Diffstat (limited to 'examples/smi')
-rw-r--r-- | examples/smi/instrum.py | 2 |
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') |