aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2020-10-06 19:58:05 -0400
committerJohn Snow <jsnow@redhat.com>2020-10-20 09:37:57 -0400
commit9223fda464690b83a2b1f1487163f50602454c2e (patch)
tree0bae4863fc931796bcdf6796c593e2e18a7255a5 /tests
parentbe1183e52f49cd0f9c1a855afe4c4a5455f966d1 (diff)
downloadqemu-9223fda464690b83a2b1f1487163f50602454c2e.zip
qemu-9223fda464690b83a2b1f1487163f50602454c2e.tar.gz
qemu-9223fda464690b83a2b1f1487163f50602454c2e.tar.bz2
python/machine.py: fix _popen access
As always, Optional[T] causes problems with unchecked access. Add a helper that asserts the pipe is present before we attempt to talk with it. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Kevin Wolf <kwolf@redhat.com> Message-id: 20201006235817.3280413-9-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions