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
|
||||
# This file contain unit test for CommentParsing
|
||||
#
|
||||
# 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
|
||||
@ -28,7 +28,7 @@ from Object.POM.CommonObject import PpiObject
|
||||
from Object.POM.CommonObject import PcdObject
|
||||
from Object.POM.ModuleObject import HobObject
|
||||
|
||||
from Library.String import GetSplitValueList
|
||||
from Library.StringUtils import GetSplitValueList
|
||||
from Library.DataType import TAB_SPACE_SPLIT
|
||||
from Library.DataType import TAB_LANGUAGE_EN_US
|
||||
from Library.DataType import TAB_LANGUAGE_ENG
|
||||
|
@ -1,7 +1,7 @@
|
||||
## @file
|
||||
# This file contain unit test for CommentParsing
|
||||
#
|
||||
# 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
|
||||
@ -19,7 +19,7 @@ from Library.CommentParsing import ParseHeaderCommentSection, \
|
||||
ParseDecPcdGenericComment, \
|
||||
ParseDecPcdTailComment
|
||||
from Library.CommentParsing import _IsCopyrightLine
|
||||
from Library.String import GetSplitValueList
|
||||
from Library.StringUtils import GetSplitValueList
|
||||
from Library.DataType import TAB_SPACE_SPLIT
|
||||
from Library.DataType import TAB_LANGUAGE_EN_US
|
||||
|
||||
|
Reference in New Issue
Block a user