commit | 09610d1419fdfe3a7355a98b5e037eb584f248ba | [log] [tgz] |
---|---|---|
author | Per Larsen <perlarsen@google.com> | Wed Aug 10 03:26:13 2022 +0000 |
committer | Per Larsen <perlarsen@google.com> | Wed Aug 10 03:48:54 2022 +0000 |
tree | 967356477db2d3fa0e8ca57d132ab8889869c995 | |
parent | fe4766461302906bbdeb193e68a98b50c3c5fa8f [diff] |
project/qemu: Avoid UnboundLocalError on ctrl-c If the user aborts a test run by pressing ctrl-c while the qemu script is waiting on the adb process, the status variable is not assigned to but referenced in the finally block. This raises a second exception during the handling of the KeyboardInterrupt. Bug: None Change-Id: I1b6573c2e69b8a932391d472225853ea7768bd88