diff options
author | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-06-07 13:06:44 +0800 |
---|---|---|
committer | Yonghong Zhu <yonghong.zhu@intel.com> | 2018-06-11 15:31:49 +0800 |
commit | 64285f15264906c761b5a6772b5b590b32caa03c (patch) | |
tree | ad4ac51a7a069600db41f709914fbaab6fd65272 /BaseTools/Source/Python/UPT/Library/UniClassObject.py | |
parent | a05a8a5aa17da4bc7144706a9931d68beec1a61f (diff) | |
download | edk2-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/Library/UniClassObject.py')
-rw-r--r-- | BaseTools/Source/Python/UPT/Library/UniClassObject.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/UPT/Library/UniClassObject.py b/BaseTools/Source/Python/UPT/Library/UniClassObject.py index 66eefee9db..7dcf0cf655 100644 --- a/BaseTools/Source/Python/UPT/Library/UniClassObject.py +++ b/BaseTools/Source/Python/UPT/Library/UniClassObject.py @@ -23,7 +23,7 @@ import distutils.util from Logger import ToolError
from Logger import Log as EdkLogger
from Logger import StringTable as ST
-from Library.String import GetLineNo
+from Library.StringUtils import GetLineNo
from Library.Misc import PathClass
from Library.Misc import GetCharIndexOutStr
from Library import DataType as DT
|