BaseTools/UPT: Update the import statement to use StringUtils
The patch 5a57246eab
Rename String to StringUtils, but it didn't
update the UPT Tool for the import statement which cause UPT tool
break.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Yonghong Zhu <yonghong.zhu@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
## @file InfPomAlignment.py
|
||||
# This file contained the adapter for convert INF parser object to POM Object
|
||||
#
|
||||
# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials are licensed and made available
|
||||
# under the terms and conditions of the BSD License which accompanies this
|
||||
@ -20,10 +20,10 @@ InfPomAlignment
|
||||
import os.path
|
||||
from Logger import StringTable as ST
|
||||
import Logger.Log as Logger
|
||||
from Library.String import FORMAT_INVALID
|
||||
from Library.String import PARSER_ERROR
|
||||
from Library.String import NormPath
|
||||
from Library.String import GetSplitValueList
|
||||
from Library.StringUtils import FORMAT_INVALID
|
||||
from Library.StringUtils import PARSER_ERROR
|
||||
from Library.StringUtils import NormPath
|
||||
from Library.StringUtils import GetSplitValueList
|
||||
from Library.Misc import ConvertVersionToDecimal
|
||||
from Library.Misc import GetHelpStringByRemoveHashKey
|
||||
from Library.Misc import ConvertArchList
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file InfPomAlignmentMisc.py
|
||||
# This file contained the routines for InfPomAlignment
|
||||
#
|
||||
# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>
|
||||
# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
#
|
||||
# This program and the accompanying materials are licensed and made available
|
||||
# under the terms and conditions of the BSD License which accompanies this
|
||||
@ -24,7 +24,7 @@ from Library import DataType as DT
|
||||
from Library.Misc import ConvertArchList
|
||||
from Object.POM.ModuleObject import BinaryFileObject
|
||||
from Object.POM import CommonObject
|
||||
from Library.String import FORMAT_INVALID
|
||||
from Library.StringUtils import FORMAT_INVALID
|
||||
from Library.Misc import CheckGuidRegFormat
|
||||
from Logger import StringTable as ST
|
||||
|
||||
|
Reference in New Issue
Block a user