Revert back to 'import sonic_platform' (#3249)

This commit is contained in:
Joe LeVeque 2019-07-31 16:44:17 -07:00 committed by Ying Xie
parent d45d00d1a0
commit da57e8db36

View File

@ -70,7 +70,7 @@ def main():
# if there is no sonic_platform package installed, we only provide
# software-related reboot causes.
try:
import sonic_platform.platform
import sonic_platform
# Check if the previous reboot was caused by hardware
platform = sonic_platform.platform.Platform()