diff options
author | Alexander Gryanko <xpahos@gmail.com> | 2024-12-25 02:18:16 +0300 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2025-01-07 04:56:24 +0000 |
commit | 42a141800c0c26a09d2344e84a89ce4097a263ae (patch) | |
tree | 63567f2fdcad703c424ce403f22b33a84f4d74a7 /BaseTools/Source/Python/Common/Expression.py | |
parent | 7e03c40659fab2a96a8a4bb781101a945d3f857b (diff) | |
download | edk2-42a141800c0c26a09d2344e84a89ce4097a263ae.tar.gz edk2-42a141800c0c26a09d2344e84a89ce4097a263ae.tar.bz2 edk2-42a141800c0c26a09d2344e84a89ce4097a263ae.zip |
BaseTools: Skip directories with code extensions in the name
Currently openssl has an Open Quantum Safe provider submodule with
directories like oqs-provider/oqs-template/oqsprov/oqsprov.c or
oqs-provider/oqs-template/oqsprov/oqsprov/oqsprov_capabilities.c
that are used as templates, but DebugMacroCheck tries to read them
as a file when recursively traversing the subdirectories.
Fail message:
File "/usr/lib/python3.10/pathlib.py", line 1119, in open
return self._accessor.open(self, mode, buffering, encoding, errors,
IsADirectoryError: [Errno 21] Is a directory: '/CryptoPkg/Library
/OpensslLib/openssl/oqs-provider/oqs-template/oqsprov/oqsprov.c'
Signed-off-by: Alexander Gryanko <xpahos@gmail.com>
Diffstat (limited to 'BaseTools/Source/Python/Common/Expression.py')
0 files changed, 0 insertions, 0 deletions