diff options
author | Elliott Sales de Andrade <quantum.analyst@gmail.com> | 2022-07-27 02:00:37 -0400 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-08-01 15:51:16 -0400 |
commit | 27626124d0bdd89f5f276f70a73b4713aa3aac3d (patch) | |
tree | f6ebcdcc772d871224af2fbe84fcd670cd0d030b /mesonbuild/mesonlib/vsenv.py | |
parent | fa71c38688e422a446b41c7f52d12c05e49716a8 (diff) | |
download | meson-27626124d0bdd89f5f276f70a73b4713aa3aac3d.zip meson-27626124d0bdd89f5f276f70a73b4713aa3aac3d.tar.gz meson-27626124d0bdd89f5f276f70a73b4713aa3aac3d.tar.bz2 |
Inline try_wait_one using asyncio.wait_for
Although the former accepts multiple awaitables, it is only ever called
with a single one, so just use `wait_for` instead.
Additionally, the `try_wait_one` fails in Python 3.11, as
`Process.wait()` returns a coroutine, and `asyncio.wait` only accepts
tasks, so it errors out.
Diffstat (limited to 'mesonbuild/mesonlib/vsenv.py')
0 files changed, 0 insertions, 0 deletions