summaryrefslogtreecommitdiff
path: root/tools/libsmi2pysnmp
diff options
context:
space:
mode:
authorelie <elie>2005-11-02 20:26:18 +0000
committerelie <elie>2005-11-02 20:26:18 +0000
commitda70da0f8c1c539523a8f3177c311794c2d2be76 (patch)
treed5d85337860736c0b0adaae86c9c0df5dfa5c441 /tools/libsmi2pysnmp
parent2503ae86eb8a3d843404736d9b8bc505e07ad935 (diff)
downloadpysnmp-da70da0f8c1c539523a8f3177c311794c2d2be76.tar.gz
do not generate STATUS information as it's useless at the moment
Diffstat (limited to 'tools/libsmi2pysnmp')
-rw-r--r--tools/libsmi2pysnmp6
1 files changed, 0 insertions, 6 deletions
diff --git a/tools/libsmi2pysnmp b/tools/libsmi2pysnmp
index c27236f..08b1249 100644
--- a/tools/libsmi2pysnmp
+++ b/tools/libsmi2pysnmp
@@ -301,9 +301,6 @@ if nodes:
out.write('MibScalar(%s' % __oidToTuple(symDef['oid']))
out.write('%s)' % __genTypeDef((symName, symDef)))
out.write('.setMaxAccess(\"%s\")' % symDef['access'])
- if symDef.has_key('status') and symDef['status'] != 'current' \
- and symDef['status'] != 'mandatory':
- out.write('.setStatus(\"%s\")' % symDef['status'])
if symDef.has_key('units'):
out.write('.setUnits(\"%s\")' % symDef['units'])
if symDef['nodetype'] == 'table':
@@ -337,9 +334,6 @@ if nodes:
out.write('MibTableColumn(%s' % __oidToTuple(symDef['oid']))
out.write('%s)' % __genTypeDef((symName, symDef)))
out.write('.setMaxAccess(\"%s\")' % symDef['access'])
- if symDef.has_key('status') and symDef['status'] != 'current' \
- and symDef['status'] != 'mandatory':
- out.write('.setStatus(\"%s\")' % symDef['status'])
out.write('%s\n' % addLabelForSymbol(symName))