]> git.proxmox.com Git - mirror_qemu.git/commit - python/qemu/utils/qom_fuse.py
scripts/qom-fuse: Apply pylint rules
authorJohn Snow <jsnow@redhat.com>
Thu, 3 Jun 2021 00:37:10 +0000 (20:37 -0400)
committerJohn Snow <jsnow@redhat.com>
Fri, 18 Jun 2021 20:10:06 +0000 (16:10 -0400)
commit7552823a36d3b99598ec53431ff43774ce11e6f2
treea7693fec2ae0957f5f4f9d89ef23b86dd0620988
parentd229f1c83d698ed5f605bcc2eab96e05afeddefb
scripts/qom-fuse: Apply pylint rules

- Catch specific exceptions from QMP
- Reraise errors with explicit context
- method parameters should match parent's names

Signed-off-by: John Snow <jsnow@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-id: 20210603003719.1321369-11-jsnow@redhat.com
Signed-off-by: John Snow <jsnow@redhat.com>
scripts/qmp/qom-fuse