]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/Python/UPT/Parser/InfParserMisc.py
BaseTools/UPT: Update the import statement to use StringUtils
[mirror_edk2.git] / BaseTools / Source / Python / UPT / Parser / InfParserMisc.py
index 6a335e8b6c75fee729bb1d240bf39e06c2b51b5e..df32225aff039a7cb6bd3dcee7270404499e6ec7 100644 (file)
@@ -1,7 +1,7 @@
 ## @file\r
 # This file contained the miscellaneous functions for INF parser \r
 #\r
-# Copyright (c) 2011 - 2014, Intel Corporation. All rights reserved.<BR>\r
+# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>\r
 #\r
 # This program and the accompanying materials are licensed and made available \r
 # under the terms and conditions of the BSD License which accompanies this \r
@@ -25,8 +25,8 @@ import re
 from Library import DataType as DT\r
 \r
 \r
-from Library.String import gMACRO_PATTERN\r
-from Library.String import ReplaceMacro\r
+from Library.StringUtils import gMACRO_PATTERN\r
+from Library.StringUtils import ReplaceMacro\r
 from Object.Parser.InfMisc import ErrorInInf\r
 from Logger.StringTable import ERR_MARCO_DEFINITION_MISS_ERROR\r
 \r