Sync EDKII BaseTools to BaseTools project r2042.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10850 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -719,7 +719,7 @@ class TemplateString(object):
|
||||
while Template:
|
||||
MatchObj = gPlaceholderPattern.search(Template, SearchFrom)
|
||||
if not MatchObj:
|
||||
if MatchEnd < len(Template):
|
||||
if MatchEnd <= len(Template):
|
||||
TemplateSection = TemplateString.Section(Template[SectionStart:], PlaceHolderList)
|
||||
TemplateSectionList.append(TemplateSection)
|
||||
break
|
||||
|
Reference in New Issue
Block a user