diff options
| author | John Snow <jsnow@redhat.com> | 2020-05-14 01:54:00 -0400 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2020-05-31 18:25:31 +0200 |
| commit | c95dddce4910c9cd5315b942180b03ca4e48a6a6 (patch) | |
| tree | b91ed748056c060d45638cda74a47a7ac818be2a /python/qemu/accel.py | |
| parent | de210ec53c842fa67aa10110a7a351d64f91c487 (diff) | |
| download | focaccia-qemu-c95dddce4910c9cd5315b942180b03ca4e48a6a6.tar.gz focaccia-qemu-c95dddce4910c9cd5315b942180b03ca4e48a6a6.zip | |
python/qemu/qtest: Check before accessing _qtest
It can be None; so add assertions or exceptions where appropriate to guard the access accordingly. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20200514055403.18902-30-jsnow@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Diffstat (limited to 'python/qemu/accel.py')
0 files changed, 0 insertions, 0 deletions