[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:
Kebo Liu 2021-01-16 00:01:11 +08:00 committed by Guohan Lu
parent ed0ac08e44
commit 21d4df3dcd

View File

@ -8,6 +8,7 @@
import os
import sys
import re
import time
if sys.version_info.major == 3:
from io import StringIO