From: Cleber Rosa Date: Tue, 12 Mar 2019 17:18:06 +0000 (-0400) Subject: tests/acceptance: improve docstring on pick_default_qemu_bin() X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=45c01bd926ec072a9ec54b2fdd780917dd7786b5;p=qemu.git tests/acceptance: improve docstring on pick_default_qemu_bin() Making it clear what is returned by this utility function. Signed-off-by: Cleber Rosa Reviewed-by: Caio Carrara Reviewed-by: Philippe Mathieu-Daudé Reviewed-by: Cornelia Huck Message-Id: <20190312171824.5134-3-crosa@redhat.com> Signed-off-by: Eduardo Habkost --- diff --git a/tests/acceptance/avocado_qemu/__init__.py b/tests/acceptance/avocado_qemu/__init__.py index a66ec72daa..b7c5d598d8 100644 --- a/tests/acceptance/avocado_qemu/__init__.py +++ b/tests/acceptance/avocado_qemu/__init__.py @@ -27,6 +27,10 @@ def pick_default_qemu_bin(): """ Picks the path of a QEMU binary, starting either in the current working directory or in the source tree root directory. + + :returns: the path to the default QEMU binary or None if one could not + be found + :rtype: str or None """ arch = os.uname()[4] qemu_bin_relative_path = os.path.join("%s-softmmu" % arch,