commit | 0408b8d7a086486f5c1887798be744b2d73bcda9 | [log] [tgz] |
---|---|---|
author | John Snow <jsnow@redhat.com> | Tue Jun 06 13:45:44 2023 -0400 |
committer | John Snow <jsnow@redhat.com> | Mon Sep 15 14:36:01 2025 -0400 |
tree | bb65ef68fcd2a85f8bf639b546f9702a06e317d7 | |
parent | f9d2e0a3bd7ba2a693a892881f91cf53fa90cc71 [diff] |
python: backport 'Use @asynciocontextmanager' This removes a non-idiomatic use of a "coroutine callback" in favor of something a bit more standardized. Signed-off-by: John Snow <jsnow@redhat.com> cherry picked from commit python-qemu-qmp@commit 97f7ffa3be17a50544b52767d14b6fd478c07b9e Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>