Add dependency checking to the Far install.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2279 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@ -73,6 +73,13 @@ def XmlParseFile (FileName):
|
||||
except:
|
||||
return xml.dom.minidom.parseString('<empty/>')
|
||||
|
||||
def XmlParseString (Str):
|
||||
"""Parse an XML string into a DOM and return the DOM."""
|
||||
try:
|
||||
return xml.dom.minidom.parseString(Str)
|
||||
except:
|
||||
return xml.dom.minidom.parseString('<empty/>')
|
||||
|
||||
def XmlParseFileSection (FileName, Tag):
|
||||
"""Parse a section of an XML file into a DOM(Document Object Model) and return the DOM."""
|
||||
try:
|
||||
|
Reference in New Issue
Block a user