diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-05-25 16:41:29 +0200 |
|---|---|---|
| committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2022-05-28 11:42:56 +0200 |
| commit | 69f56c140de06fee0f266b93634475e1d968e430 (patch) | |
| tree | de49d341b6a4749e34d6ea5053d0ebbed2dda80c /python/qemu/machine/machine.py | |
| parent | 56b6dab2743b276a50036cd0a115e98cb1134f38 (diff) | |
| download | focaccia-qemu-69f56c140de06fee0f266b93634475e1d968e430.tar.gz focaccia-qemu-69f56c140de06fee0f266b93634475e1d968e430.zip | |
qga: flatten safe_open_or_create()
There is a bit too much nesting in the function, this can be simplified a bit to improve readability. This also helps with the following error handling changes. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20220525144140.591926-5-marcandre.lureau@redhat.com>
Diffstat (limited to 'python/qemu/machine/machine.py')
0 files changed, 0 insertions, 0 deletions