X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=BaseTools%2FSource%2FPython%2FCommon%2FParsing.py;h=d858501af6c10aa432d99f789963b271287d893a;hp=ad90afab800224d1b09862254836a995a137bb13;hb=fb0b35e05f772bd415fe264267bbbcde2e0accda;hpb=487062c048809420de1b008bc9d17815a8c4fbdb diff --git a/BaseTools/Source/Python/Common/Parsing.py b/BaseTools/Source/Python/Common/Parsing.py index ad90afab80..d858501af6 100644 --- a/BaseTools/Source/Python/Common/Parsing.py +++ b/BaseTools/Source/Python/Common/Parsing.py @@ -14,6 +14,7 @@ ## # Import Modules # +from __future__ import absolute_import from .StringUtils import * from CommonDataClass.DataClass import * from .DataType import * @@ -35,7 +36,7 @@ def ParseDefineMacro2(Table, RecordSets, GlobalMacro): Macros[Record[0]] = Record[1] # - # Overrided by Global Macros + # Overridden by Global Macros # Macros.update(GlobalMacro) @@ -75,7 +76,7 @@ def ParseDefineMacro(Table, GlobalMacro): Macros[Record[0]] = Record[1] # - # Overrided by Global Macros + # Overridden by Global Macros # Macros.update(GlobalMacro) @@ -829,7 +830,7 @@ def InsertSectionItems(Model, CurrentSection, SectionItemList, ArchList, ThirdLi # @param Table: The Table to be inserted # @param FileID: The ID of belonging file # @param Filename: The name of belonging file -# @param CurrentSection: The name of currect section +# @param CurrentSection: The name of current section # @param SectionItemList: A list of items of the section # @param ArchList: A list of arches # @param ThirdList: A list of third parameters, ModuleType for LibraryClass and SkuId for Dynamic Pcds