BaseTools: Rename String to StringUtils.
For case-insensitive file systems, edk2 String.py collides with the Python string.py, which results in build errors. This,for example, applies to building via the Windows Subsystem for Linux from a DriveFS file system. This patch renames String to StringUtils to prevent conflicts for case-insensitive file systems. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com> Reviewed-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
committed by
Liming Gao
parent
ba94c38f08
commit
5a57246eab
@ -23,7 +23,7 @@ from Common.LongFilePathSupport import OpenLongFilePath as open
|
||||
from Common.GlobalData import *
|
||||
from Common.BuildToolError import *
|
||||
from Common.Misc import tdict, PathClass
|
||||
from Common.String import NormPath
|
||||
from Common.StringUtils import NormPath
|
||||
from Common.DataType import *
|
||||
|
||||
import Common.EdkLogger as EdkLogger
|
||||
|
Reference in New Issue
Block a user