]> git.proxmox.com Git - mirror_edk2.git/commit
.pytool/Plugin/EccCheck: Remove temp directory on exception
authorMichael D Kinney <michael.d.kinney@intel.com>
Tue, 23 Nov 2021 05:20:48 +0000 (21:20 -0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Mon, 29 Nov 2021 06:38:51 +0000 (06:38 +0000)
commit854462bd347974da73d36519c8187554b7719680
treee42975b1c35905903898a3049d8753adc95290a9
parent69877614fdeef64b8d1d6f21d5a209dce22983b7
.pytool/Plugin/EccCheck: Remove temp directory on exception

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2986

Add try/except to RunBuildPlugin() to remove temporary
directory if a KeyboardInterrupt exception or an unexpected
exception is detected.

Cc: Sean Brogan <sean.brogan@microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew@microsoft.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael Kubacki <michael.kubacki@microsoft.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Acked-by: Sean Brogan <sean.brogan@microsoft.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
.pytool/Plugin/EccCheck/EccCheck.py