]> xenbits.xensource.com Git - ovmf.git/commit
BaseTools: use threading.current_thread in NmakeSubdirs.py
authorRebecca Cran <rebecca@bsdio.com>
Mon, 24 Apr 2023 16:44:24 +0000 (10:44 -0600)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 8 May 2023 19:03:18 +0000 (19:03 +0000)
commit11ec5161fa6ed177b51b6c310696b0179aff53f3
treed4c29631d213921c481bab4e1a0db6a273bb04c2
parentdb7e6291c05a4c6db5c8bbf51fe5d58fe52ccc7d
BaseTools: use threading.current_thread in NmakeSubdirs.py

threading.currentThread is a deprecated alias for
threading.current_thread, and causes a warning to be displayed when it's
called. Update NmakeSubdirs.py to use the latter method instead.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Source/C/Makefiles/NmakeSubdirs.py