diff options
| author | Gary Lin <glin@suse.com> | 2018-07-13 13:18:40 +0300 |
|---|---|---|
| committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-07-16 06:22:16 +0300 |
| commit | f3fc5b47ad195dd9e2b644cb294448a386e18a53 (patch) | |
| tree | 59ad432f5c0d8dff31c444788ac38dec0804b695 /BaseTools/Source/Python/Common/EdkLogger.py | |
| parent | 72a836c00a3bd57420a324bd9cf086298849e21b (diff) | |
| download | edk2-f3fc5b47ad195dd9e2b644cb294448a386e18a53.tar.xz | |
BaseTools: Use absolute import in Common
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/Common/EdkLogger.py')
| -rw-r--r-- | BaseTools/Source/Python/Common/EdkLogger.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Common/EdkLogger.py b/BaseTools/Source/Python/Common/EdkLogger.py index 3f462df49a..19749066ec 100644 --- a/BaseTools/Source/Python/Common/EdkLogger.py +++ b/BaseTools/Source/Python/Common/EdkLogger.py @@ -12,9 +12,10 @@ #
## Import modules
+from __future__ import absolute_import
import Common.LongFilePathOs as os, sys, logging
import traceback
-from BuildToolError import *
+from .BuildToolError import *
## Log level constants
DEBUG_0 = 1
|
