From 1841cff51b02ca8a9309f070c9e8a269543af033 Mon Sep 17 00:00:00 2001 From: David Nguyen Date: Tue, 30 Apr 2024 19:18:59 +0000 Subject: [PATCH] remove mibBuilder from mib --- .flake8 | 1 + socs/mibs/MBG-SYNCBOX-N2X-MIB.py | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.flake8 b/.flake8 index 55bbe6911..dfa0cc9ce 100644 --- a/.flake8 +++ b/.flake8 @@ -16,6 +16,7 @@ exclude = socs/mibs/MBG-SNMP-ROOT-MIB.py, socs/mibs/IBOOTPDU-MIB.py, socs/mibs/UPS-MIB.py, + socs/mibs/MBG-SYNCBOX-N2X-MIB.py, versioneer.py, docs/conf.py, per-file-ignores = diff --git a/socs/mibs/MBG-SYNCBOX-N2X-MIB.py b/socs/mibs/MBG-SYNCBOX-N2X-MIB.py index d062b776f..75e79d2c4 100644 --- a/socs/mibs/MBG-SYNCBOX-N2X-MIB.py +++ b/socs/mibs/MBG-SYNCBOX-N2X-MIB.py @@ -5,9 +5,6 @@ # On host HAWKING platform Linux version 5.15.90.1-microsoft-standard-WSL2 by user davidvng # Using Python version 3.8.8 (default, Apr 13 2021, 19:58:26) # -from pysnmp.smi import builder - -mibBuilder = builder.MibBuilder() Integer, ObjectIdentifier, OctetString = mibBuilder.importSymbols("ASN1", "Integer", "ObjectIdentifier", "OctetString") NamedValues, = mibBuilder.importSymbols("ASN1-ENUMERATION", "NamedValues")