diff options
author | Willian Rampazzo <willianr@redhat.com> | 2021-09-20 17:49:31 -0300 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@redhat.com> | 2021-09-27 19:06:36 +0200 |
commit | 6c58af2e173254d933f11d420a6a140021cd7573 (patch) | |
tree | 5029ee7366c85fe9e67706f7228c7e29e5463cc8 /tests/acceptance | |
parent | 22e82e0982a893074738cd9c6184c8eb1c012422 (diff) | |
download | qemu-6c58af2e173254d933f11d420a6a140021cd7573.zip qemu-6c58af2e173254d933f11d420a6a140021cd7573.tar.gz qemu-6c58af2e173254d933f11d420a6a140021cd7573.tar.bz2 |
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: Willian Rampazzo <willianr@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20210920204932.94132-6-willianr@redhat.com>
Diffstat (limited to 'tests/acceptance')
-rw-r--r-- | tests/acceptance/avocado_qemu/__init__.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index c3613f9..35318ce 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -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, |