aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2021-06-02 20:37:14 -0400
committerJohn Snow <jsnow@redhat.com>2021-06-18 16:10:06 -0400
commit2cea7134620749b106af167322d921716ef61144 (patch)
treea341cd54610c2d779169019148c10759f9bef42a /python
parent9ec8a3869480a9826ba77b480bb7ca567aa3d26b (diff)
downloadqemu-2cea7134620749b106af167322d921716ef61144.zip
qemu-2cea7134620749b106af167322d921716ef61144.tar.gz
qemu-2cea7134620749b106af167322d921716ef61144.tar.bz2
scripts/qom-fuse: ensure QOMFuse.read always returns bytes
- Use FuseOSError to signal ENOENT instead of returning it - Wrap qom-get in str(), as we don't always know its type - The empty return should be b'', not ''. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20210603003719.1321369-15-jsnow@redhat.com Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'python')
0 files changed, 0 insertions, 0 deletions