summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorelie <elie>2015-06-04 06:11:25 +0000
committerelie <elie>2015-06-04 06:11:25 +0000
commitf64b96d0bd87ad091a841e2cf0afdfa7690eb2b6 (patch)
treeef226ff232fafe0f8529154d4359eb61c33de425 /examples
parent5cee646ddb1b5a97c1d6100a5339c01785bcc8b0 (diff)
downloadpysnmp-git-f64b96d0bd87ad091a841e2cf0afdfa7690eb2b6.tar.gz
use @mib@ placeholder instead of <mib> at pysmi
Diffstat (limited to 'examples')
-rw-r--r--examples/smi/manager/var-binds-mib-resolution.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smi/manager/var-binds-mib-resolution.py b/examples/smi/manager/var-binds-mib-resolution.py
index 12fcfb5f..1c83afa0 100644
--- a/examples/smi/manager/var-binds-mib-resolution.py
+++ b/examples/smi/manager/var-binds-mib-resolution.py
@@ -14,7 +14,7 @@ mibVar = rfc1902.ObjectIdentity('IF-MIB', 'ifInOctets', 1)
# create pysnmp MIBs on demand from ASN.1 sources downloaded from
# a web site.
try:
- mibVar.addMibCompiler('http://mibs.snmplabs.com/asn1/<mib>')
+ mibVar.addMibCompiler('http://mibs.snmplabs.com/asn1/@mib@')
except error.SmiError:
print('WARNING: not using MIB compiler (PySMI not installed)')