diff options
Diffstat (limited to 'BaseTools/Source/Python/Workspace')
7 files changed, 14 insertions, 14 deletions
diff --git a/BaseTools/Source/Python/Workspace/BuildClassObject.py b/BaseTools/Source/Python/Workspace/BuildClassObject.py index cff77a71ae..1df042f41c 100644 --- a/BaseTools/Source/Python/Workspace/BuildClassObject.py +++ b/BaseTools/Source/Python/Workspace/BuildClassObject.py @@ -176,7 +176,7 @@ class PcdClassObject(object): ## Convert the class to a string
#
# Convert each member of the class to string
- # Organize to a signle line format string
+ # Organize to a single line format string
#
# @retval Rtn Formatted String
#
diff --git a/BaseTools/Source/Python/Workspace/DecBuildData.py b/BaseTools/Source/Python/Workspace/DecBuildData.py index 36b39be5d5..149c057b70 100644 --- a/BaseTools/Source/Python/Workspace/DecBuildData.py +++ b/BaseTools/Source/Python/Workspace/DecBuildData.py @@ -121,7 +121,7 @@ class DecBuildData(PackageBuildClassObject): ## Retrieve all information in [Defines] section
#
- # (Retriving all [Defines] information in one-shot is just to save time.)
+ # (Retrieving all [Defines] information in one-shot is just to save time.)
#
def _GetHeaderInfo(self):
RecordList = self._RawData[MODEL_META_DATA_HEADER, self._Arch]
@@ -167,7 +167,7 @@ class DecBuildData(PackageBuildClassObject): if self._Protocols is None:
#
# tdict is a special kind of dict, used for selecting correct
- # protocol defition for given ARCH
+ # protocol definition for given ARCH
#
ProtocolDict = tdict(True)
PrivateProtocolDict = tdict(True)
@@ -210,7 +210,7 @@ class DecBuildData(PackageBuildClassObject): if self._Ppis is None:
#
# tdict is a special kind of dict, used for selecting correct
- # PPI defition for given ARCH
+ # PPI definition for given ARCH
#
PpiDict = tdict(True)
PrivatePpiDict = tdict(True)
@@ -253,7 +253,7 @@ class DecBuildData(PackageBuildClassObject): if self._Guids is None:
#
# tdict is a special kind of dict, used for selecting correct
- # GUID defition for given ARCH
+ # GUID definition for given ARCH
#
GuidDict = tdict(True)
PrivateGuidDict = tdict(True)
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index f472fa177f..1fd1639ab6 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -343,7 +343,7 @@ class DscBuildData(PlatformBuildClassObject): ## Retrieve all information in [Defines] section
#
- # (Retriving all [Defines] information in one-shot is just to save time.)
+ # (Retrieving all [Defines] information in one-shot is just to save time.)
#
def _GetHeaderInfo(self):
RecordList = self._RawData[MODEL_META_DATA_HEADER, self._Arch]
diff --git a/BaseTools/Source/Python/Workspace/InfBuildData.py b/BaseTools/Source/Python/Workspace/InfBuildData.py index fc779a9d25..6148ab0d30 100644 --- a/BaseTools/Source/Python/Workspace/InfBuildData.py +++ b/BaseTools/Source/Python/Workspace/InfBuildData.py @@ -205,7 +205,7 @@ class InfBuildData(ModuleBuildClassObject): ## Retrieve all information in [Defines] section
#
- # (Retriving all [Defines] information in one-shot is just to save time.)
+ # (Retrieving all [Defines] information in one-shot is just to save time.)
#
@cached_class_function
def _GetHeaderInfo(self):
@@ -816,7 +816,7 @@ class InfBuildData(ModuleBuildClassObject): RetVal[Arch, ModuleType] = TemporaryDictionary[Arch, ModuleType]
return RetVal
- ## Retrieve depedency expression
+ ## Retrieve dependency expression
@cached_property
def DepexExpression(self):
RetVal = tdict(False, 2)
diff --git a/BaseTools/Source/Python/Workspace/MetaFileParser.py b/BaseTools/Source/Python/Workspace/MetaFileParser.py index 311d0faf38..a3e3216221 100644 --- a/BaseTools/Source/Python/Workspace/MetaFileParser.py +++ b/BaseTools/Source/Python/Workspace/MetaFileParser.py @@ -438,7 +438,7 @@ class MetaFileParser(object): ScopeKey = tuple(ScopeKey)
#
# DecParser SectionType is a list, will contain more than one item only in Pcd Section
- # As Pcd section macro usage is not alllowed, so here it is safe
+ # As Pcd section macro usage is not allowed, so here it is safe
#
if isinstance(self, DecParser):
SectionDictKey = self._SectionType[0], ScopeKey
diff --git a/BaseTools/Source/Python/Workspace/WorkspaceCommon.py b/BaseTools/Source/Python/Workspace/WorkspaceCommon.py index ee238e5143..b79280bc2e 100644 --- a/BaseTools/Source/Python/Workspace/WorkspaceCommon.py +++ b/BaseTools/Source/Python/Workspace/WorkspaceCommon.py @@ -247,7 +247,7 @@ def GetModuleLibInstances(Module, Platform, BuildDatabase, Arch, Target, Toolcha SortedLibraryList.append(Item)
#
- # Build the list of constructor and destructir names
+ # Build the list of constructor and destructor names
# The DAG Topo sort produces the destructor order, so the list of constructors must generated in the reverse order
#
SortedLibraryList.reverse()
diff --git a/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py b/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py index a6a292d15c..921a229a1c 100644 --- a/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py +++ b/BaseTools/Source/Python/Workspace/WorkspaceDatabase.py @@ -37,7 +37,7 @@ from Workspace.InfBuildData import InfBuildData #
# @param DbPath Path of database file
# @param GlobalMacros Global macros used for replacement during file parsing
-# @prarm RenewDb=False Create new database file if it's already there
+# @param RenewDb=False Create new database file if it's already there
#
class WorkspaceDatabase(object):
@@ -82,7 +82,7 @@ class WorkspaceDatabase(object): Arch = None
return (FilePath, Arch) in self._CACHE_
- # key = (FilePath, Arch=None, Target=None, Toochain=None)
+ # key = (FilePath, Arch=None, Target=None, Toolchain=None)
def __getitem__(self, Key):
FilePath = Key[0]
KeyLength = len(Key)
@@ -123,7 +123,7 @@ class WorkspaceDatabase(object): Arch,
MetaFileStorage(self.WorkspaceDb, FilePath, FileType)
)
- # alwasy do post-process, in case of macros change
+ # always do post-process, in case of macros change
MetaFile.DoPostProcess()
# object the build is based on
BuildObject = self._GENERATOR_[FileType](
@@ -149,7 +149,7 @@ class WorkspaceDatabase(object): #
# @param DbPath Path of database file
# @param GlobalMacros Global macros used for replacement during file parsing
- # @prarm RenewDb=False Create new database file if it's already there
+ # @param RenewDb=False Create new database file if it's already there
#
def __init__(self):
self.DB = dict()
|