Skip to content
Snippets Groups Projects
Commit 6c58af2e authored by Willian Rampazzo's avatar Willian Rampazzo Committed by Philippe Mathieu-Daudé
Browse files

avocado_qemu: explicitly return None to avoid R1710


The linter is complaining the `pick_default_qemu_bin` is not explicitly
returning None. Fix it to explicitly return None and avoid R1710
inconsistent-return-statements.

Signed-off-by: default avatarWillian Rampazzo <willianr@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: default avatarPhilippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210920204932.94132-6-willianr@redhat.com>
parent 22e82e09
No related branches found
No related tags found
No related merge requests found
......@@ -72,6 +72,7 @@ def pick_default_qemu_bin(arch=None):
qemu_bin_relative_path)
if is_readable_executable_file(qemu_bin_from_bld_dir_path):
return qemu_bin_from_bld_dir_path
return None
def _console_interaction(test, success_message, failure_message,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment