Skip to content

Commit 21d4df3

Browse files
keboliulguohan
authored andcommitted
[mellanox][platform api] fix a missing import time module (#6458)
“time" module was missed to be imported and will cause an error when the branch hit. Signed-off-by: Kebo Liu <[email protected]>
1 parent ed0ac08 commit 21d4df3

File tree

1 file changed

+1
-0
lines changed
  • platform/mellanox/mlnx-platform-api/sonic_platform

1 file changed

+1
-0
lines changed

platform/mellanox/mlnx-platform-api/sonic_platform/eeprom.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import os
99
import sys
1010
import re
11+
import time
1112

1213
if sys.version_info.major == 3:
1314
from io import StringIO

0 commit comments

Comments
 (0)