Skip to content

Commit

Permalink
Update component.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagami-Jiang committed Aug 2, 2023
1 parent a677a6e commit 8f8e144
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@
try:
from sonic_platform_base.component_base import ComponentBase
from . import helper
from . import bmc_present_config
import re
except ImportError as e:
raise ImportError(str(e) + "- required module not found")
BMC_EXIST = bmc_present_config.get_bmc_status()
BMC_EXIST = helper.APIHelper().get_bmc_status()
FPGA_VERSION_PATH = "/sys/bus/platform/devices/fpga_sysfs/version"
Bios_Version_Cmd = "dmidecode -t bios | grep Version"

Expand Down

0 comments on commit 8f8e144

Please sign in to comment.