summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py
diff options
context:
space:
mode:
authorYonghong Zhu <yonghong.zhu@intel.com>2018-06-07 13:06:44 +0800
committerYonghong Zhu <yonghong.zhu@intel.com>2018-06-11 15:31:49 +0800
commit64285f15264906c761b5a6772b5b590b32caa03c (patch)
treead4ac51a7a069600db41f709914fbaab6fd65272 /BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py
parenta05a8a5aa17da4bc7144706a9931d68beec1a61f (diff)
downloadedk2-64285f15264906c761b5a6772b5b590b32caa03c.tar.gz
edk2-64285f15264906c761b5a6772b5b590b32caa03c.tar.bz2
edk2-64285f15264906c761b5a6772b5b590b32caa03c.zip
BaseTools/UPT: Update the import statement to use StringUtils
The patch 5a57246eab80 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>
Diffstat (limited to 'BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py')
-rw-r--r--BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py b/BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py
index a114ff22a7..4593506e58 100644
--- a/BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py
+++ b/BaseTools/Source/Python/UPT/UnitTest/CommentParsingUnitTest.py
@@ -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