Closed Javagedes closed 2 months ago
GetAbsolutePathOnThisSystemFromEdk2RelativePath will log an error message and return None if absolute path could not be determined. Due to this, file should be checked against None, not os.path.isfile.
GetAbsolutePathOnThisSystemFromEdk2RelativePath
None
os.path.isfile
You can see that in the GetAbsolutePathOnThisSystemFromEdk2RelativePath that we return a str if the absolute path is found, else None.
Currently, when a path is not found, you get this exception and trace:
N/A
Description
GetAbsolutePathOnThisSystemFromEdk2RelativePath
will log an error message and returnNone
if absolute path could not be determined. Due to this, file should be checked againstNone
, notos.path.isfile
.You can see that in the GetAbsolutePathOnThisSystemFromEdk2RelativePath that we return a str if the absolute path is found, else
None
.Currently, when a path is not found, you get this exception and trace:
How This Was Tested
N/A
Integration Instructions
N/A