summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorelie <elie>2005-11-02 20:25:36 +0000
committerelie <elie>2005-11-02 20:25:36 +0000
commit2503ae86eb8a3d843404736d9b8bc505e07ad935 (patch)
treea8c8eea1ea4bcee5e474aff363e1d9cee47716af
parent587575e140f28ff7cb5fa65a45625cbe25e05103 (diff)
downloadpysnmp-2503ae86eb8a3d843404736d9b8bc505e07ad935.tar.gz
do not use SMI STATUS for resolving ambigs
-rw-r--r--pysnmp/smi/view.py9
1 files changed, 0 insertions, 9 deletions
diff --git a/pysnmp/smi/view.py b/pysnmp/smi/view.py
index fa65a42..294bc23 100644
--- a/pysnmp/smi/view.py
+++ b/pysnmp/smi/view.py
@@ -43,8 +43,6 @@ class MibViewController:
globMibMod = mibMod
continue
- __status = {}
-
# Types & MIB vars indices
for n, v in self.mibBuilder.mibSymbols[modName].items():
if type(v) == ClassType:
@@ -67,13 +65,6 @@ class MibViewController:
if not globMibMod['varToNameIdx'].has_key(n):
globMibMod['varToNameIdx'][n] = v.name
mibMod['varToNameIdx'][n] = v.name
- # Build OID->everything index using most up-to-date spec
- if __status.has_key(v.name):
- if __status[v.name] == 'current' or \
- __status[v.name] == 'mandatory':
- continue
- if hasattr(v, 'getStatus'):
- __status[v.name] = v.getStatus()
if not globMibMod['oidToModIdx'].has_key(v.name):
globMibMod['oidToModIdx'][v.name] = modName
mibMod['oidToModIdx'][v.name] = modName