diff options
author | Gary Lin <glin@suse.com> | 2018-07-13 18:18:43 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-07-16 11:22:17 +0800 |
commit | 64429fbd61d445b892a78f4e55b0b83c184790bd (patch) | |
tree | 038d0114284de43ebd225e9a8f4dd3d3efd8042c /BaseTools/Source/Python/Eot/FileProfile.py | |
parent | b6f6b636b038e780c87892b17835bb6d043523b8 (diff) | |
download | edk2-64429fbd61d445b892a78f4e55b0b83c184790bd.tar.gz edk2-64429fbd61d445b892a78f4e55b0b83c184790bd.tar.bz2 edk2-64429fbd61d445b892a78f4e55b0b83c184790bd.zip |
BaseTools: Use absolute import in Eot
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/Eot/FileProfile.py')
-rw-r--r-- | BaseTools/Source/Python/Eot/FileProfile.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Eot/FileProfile.py b/BaseTools/Source/Python/Eot/FileProfile.py index 0544c0d55b..3846279cad 100644 --- a/BaseTools/Source/Python/Eot/FileProfile.py +++ b/BaseTools/Source/Python/Eot/FileProfile.py @@ -16,9 +16,10 @@ # Import Modules
#
+from __future__ import absolute_import
import re
import Common.LongFilePathOs as os
-from ParserWarning import Warning
+from .ParserWarning import Warning
from Common.LongFilePathSupport import OpenLongFilePath as open
# Profile contents of a file
|