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:
@ -2,7 +2,7 @@
|
||||
#
|
||||
# This file contained the logical of transfer package object to DEC files.
|
||||
#
|
||||
# Copyright (c) 2011 - 2016, 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
|
||||
@ -65,7 +65,7 @@ from Library.DataType import TAB_SECTION_END
|
||||
from Library.DataType import TAB_SPLIT
|
||||
import Library.DataType as DT
|
||||
from Library.UniClassObject import FormatUniEntry
|
||||
from Library.String import GetUniFileName
|
||||
from Library.StringUtils import GetUniFileName
|
||||
|
||||
def GenPcd(Package, Content):
|
||||
#
|
||||
|
@ -2,7 +2,7 @@
|
||||
#
|
||||
# This file contained the logical of transfer package object to INF files.
|
||||
#
|
||||
# Copyright (c) 2011 - 2017, 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,7 +20,7 @@ import stat
|
||||
import codecs
|
||||
import md5
|
||||
from Core.FileHook import __FileHookOpen__
|
||||
from Library.String import GetSplitValueList
|
||||
from Library.StringUtils import GetSplitValueList
|
||||
from Library.Parsing import GenSection
|
||||
from Library.Parsing import GetWorkspacePackage
|
||||
from Library.Parsing import ConvertArchForInstall
|
||||
@ -41,7 +41,7 @@ import Logger.Log as Logger
|
||||
from Library import DataType as DT
|
||||
from GenMetaFile import GenMetaFileMisc
|
||||
from Library.UniClassObject import FormatUniEntry
|
||||
from Library.String import GetUniFileName
|
||||
from Library.StringUtils import GetUniFileName
|
||||
|
||||
|
||||
## Transfer Module Object to Inf files
|
||||
|
Reference in New Issue
Block a user