diff options
author | Dionna Glaze <dionnaglaze@google.com> | 2024-12-09 18:42:33 +0000 |
---|---|---|
committer | Liming Gao <gaoliming@byosoft.com.cn> | 2024-12-11 09:00:21 +0800 |
commit | 74ac8cc0e81272b52f66b3e259e497fa628ab49d (patch) | |
tree | f31e799752c7a59341fb59513919a49e4749bf33 /BaseTools/Source/Python/GenFds/FfsInfStatement.py | |
parent | aca75d3c08674dfa85f00100edf85c67476e333d (diff) | |
download | edk2-74ac8cc0e81272b52f66b3e259e497fa628ab49d.tar.gz edk2-74ac8cc0e81272b52f66b3e259e497fa628ab49d.tar.bz2 edk2-74ac8cc0e81272b52f66b3e259e497fa628ab49d.zip |
BaseTools: Typo fixes
Some in error messages, some in local variable names.
Signed-off-by: Dionna Glaze <dionnaglaze@google.com>
Diffstat (limited to 'BaseTools/Source/Python/GenFds/FfsInfStatement.py')
-rw-r--r-- | BaseTools/Source/Python/GenFds/FfsInfStatement.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/BaseTools/Source/Python/GenFds/FfsInfStatement.py b/BaseTools/Source/Python/GenFds/FfsInfStatement.py index ec9713484e..4e26a5af9d 100644 --- a/BaseTools/Source/Python/GenFds/FfsInfStatement.py +++ b/BaseTools/Source/Python/GenFds/FfsInfStatement.py @@ -151,7 +151,7 @@ class FfsInfStatement(FfsInfStatementClassObject): #
def __InfParse__(self, Dict = None, IsGenFfs=False):
- GenFdsGlobalVariable.VerboseLogger( " Begine parsing INf file : %s" %self.InfFileName)
+ GenFdsGlobalVariable.VerboseLogger( " Begin parsing INF file : %s" %self.InfFileName)
self.InfFileName = self.InfFileName.replace('$(WORKSPACE)', '')
if len(self.InfFileName) > 1 and self.InfFileName[0] == '\\' and self.InfFileName[1] == '\\':
@@ -169,7 +169,7 @@ class FfsInfStatement(FfsInfStatementClassObject): if not os.path.exists(InfPath):
InfPath = GenFdsGlobalVariable.ReplaceWorkspaceMacro(InfPath)
if not os.path.exists(InfPath):
- EdkLogger.error("GenFds", GENFDS_ERROR, "Non-existant Module %s !" % (self.InfFileName))
+ EdkLogger.error("GenFds", GENFDS_ERROR, "Non-existent Module %s !" % (self.InfFileName))
self.CurrentArch = self.GetCurrentArch()
#
@@ -365,7 +365,7 @@ class FfsInfStatement(FfsInfStatementClassObject): os.makedirs(self.OutputPath)
self.EfiOutputPath, self.EfiDebugPath = self.__GetEFIOutPutPath__()
- GenFdsGlobalVariable.VerboseLogger( "ModuelEFIPath: " + self.EfiOutputPath)
+ GenFdsGlobalVariable.VerboseLogger( "ModuleEFIPath: " + self.EfiOutputPath)
## PatchEfiFile
#
@@ -1130,5 +1130,3 @@ class FfsInfStatement(FfsInfStatementClassObject): EdkLogger.error("GenFds", FILE_WRITE_FAILURE, "Write data to file %s failed, please check whether the file been locked or using by other applications." %UniVfrOffsetFileName, None)
fStringIO.close ()
-
-
|