BaseTools: Use absolute import in Scripts

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>
This commit is contained in:
Gary Lin 2018-07-13 18:18:47 +08:00 committed by Yonghong Zhu
parent 1100bc5aa0
commit 2add3cffb0
2 changed files with 4 additions and 2 deletions

View File

@ -12,9 +12,10 @@
# #
from __future__ import print_function from __future__ import print_function
from __future__ import absolute_import
import os import os
from message import * from .message import *
class BaseDoxygeItem: class BaseDoxygeItem:
def __init__(self, name, tag=''): def __init__(self, name, tag=''):

View File

@ -11,7 +11,8 @@
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
# #
from message import * from __future__ import absolute_import
from .message import *
import re import re
import os import os