Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Javagedes committed Aug 3, 2023
1 parent 66c8dd3 commit 1a12705
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions edk2toollib/uefi/edk2/path_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ def GetAbsolutePathOnThisSystemFromEdk2RelativePath(self, *relpath: str, log_err
if abspath.exists():
return str(abspath)
if log_errors:
self.logger.error("Failed to convert Edk2Relative Path to an Absolute Path on this system.", stack_info=True)
self.logger.error("Failed to convert Edk2Relative Path to an Absolute Path on this system.")
self.logger.error("Relative Path: %s" % relpath)

return None
Expand All @@ -278,7 +278,7 @@ def GetContainingPackage(self, InputPath: str) -> str:
Returns:
(str): name of the package that the path is in.
"""
self.logger.debug("get_package: %s" % InputPath)
self.logger.debug("GetContainingPackage: %s" % InputPath)
InputPath = Path(InputPath.replace("\\", "/"))
# Make a list that has the path case normalized for comparison.
# Note: This only does anything on Windows
Expand Down Expand Up @@ -320,7 +320,7 @@ def GetContainingModules(self, input_path: str) -> list[str]:
Note: This function only accepts absolute paths. An exception will
be raised if a non-absolute path is given.
Note: If path does not exist in the filesystem, this function
Note: If input_path does not exist in the filesystem, this function
will try to return the likely containing module(s) but if the
entire module has been deleted, this isn't possible.
Expand All @@ -330,7 +330,7 @@ def GetContainingModules(self, input_path: str) -> list[str]:
Args:
input_path: Absolute path to a file, directory, or module.
Supports both Windows and Posix like paths.
Supports both Windows and Posix like paths.
Returns:
(list[str]): Absolute paths of .inf files that could be the
Expand Down

0 comments on commit 1a12705

Please sign in to comment.