[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 <kebol@nvidia.com>
This commit is contained in:
parent
6db88e860f
commit
1b2980540d
@ -8,6 +8,7 @@
|
||||
import os
|
||||
import sys
|
||||
import re
|
||||
import time
|
||||
|
||||
if sys.version_info.major == 3:
|
||||
from io import StringIO
|
||||
|
Reference in New Issue
Block a user