062fd1dad2
This adds an Exception that extends the Python stdlib subprocess.CalledProcessError. The difference is that the str() method of this exception also adds the stdout/stderr logs. In effect, if this exception goes unhandled, Python will print the output in a visually distinct wrapper to the terminal so that it's easy to spot in a sea of traceback information. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Reviewed-by: Hanna Reitz <hreitz@redhat.com> Message-Id: <20220321201618.903471-3-jsnow@redhat.com> Signed-off-by: Hanna Reitz <hreitz@redhat.com> |
||
---|---|---|
.. | ||
__init__.py | ||
accel.py | ||
py.typed | ||
qemu_ga_client.py | ||
qom_common.py | ||
qom_fuse.py | ||
qom.py | ||
README.rst |
qemu.utils package ================== This package provides miscellaneous utilities used for testing and debugging QEMU. It is used primarily by the vm and avocado tests. See the documentation in ``__init__.py`` for more information.