On 7/10/20 7:22 AM, John Snow wrote: > Like many other Optional[] types, it's not always a given that this > object will be set. Wrap it in a type-shim that raises a meaningful > error and will always return a concrete type. > > Signed-off-by: John Snow <[email protected]> > --- > python/qemu/machine.py | 24 +++++++++++++----------- > 1 file changed, 13 insertions(+), 11 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
