summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Table/TableEotReport.py
diff options
context:
space:
mode:
authorGary Lin <glin@suse.com>2018-07-13 18:18:44 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-07-16 11:22:17 +0800
commit3d87290487d174656fa6dee9d1f0d82a4c4294b5 (patch)
tree5a4ab8ba3b04ce8c957e4d015e3383feb4810ca9 /BaseTools/Source/Python/Table/TableEotReport.py
parent64429fbd61d445b892a78f4e55b0b83c184790bd (diff)
downloadedk2-3d87290487d174656fa6dee9d1f0d82a4c4294b5.tar.gz
edk2-3d87290487d174656fa6dee9d1f0d82a4c4294b5.tar.bz2
edk2-3d87290487d174656fa6dee9d1f0d82a4c4294b5.zip
BaseTools: Use absolute import in Table
Based on "futurize -f libfuturize.fixes.fix_absolute_import Contributed-under: TianoCore Contribution Agreement 1.1 Cc: Yonghong Zhu <yonghong.zhu@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Gary Lin <glin@suse.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Table/TableEotReport.py')
-rw-r--r--BaseTools/Source/Python/Table/TableEotReport.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Table/TableEotReport.py b/BaseTools/Source/Python/Table/TableEotReport.py
index e8291b48d7..0a490161cd 100644
--- a/BaseTools/Source/Python/Table/TableEotReport.py
+++ b/BaseTools/Source/Python/Table/TableEotReport.py
@@ -14,9 +14,10 @@
##
# Import Modules
#
+from __future__ import absolute_import
import Common.EdkLogger as EdkLogger
import Common.LongFilePathOs as os, time
-from Table import Table
+from .Table import Table
from Common.StringUtils import ConvertToSqlString2
import Eot.EotToolError as EotToolError
import Eot.EotGlobalData as EotGlobalData