diff options
author | Cleber Rosa | 2021-04-12 06:46:35 +0200 |
---|---|---|
committer | John Snow | 2021-06-01 22:21:20 +0200 |
commit | c028691e65b9f45e7a8ff8ffbfb9a3818478b572 (patch) | |
tree | c7ad43d84a75516bd762de24757e3d7cc3809693 /qemu-edid.c | |
parent | tests/acceptance/virtiofs_submounts.py: add missing accel tag (diff) | |
download | qemu-c028691e65b9f45e7a8ff8ffbfb9a3818478b572.tar.gz qemu-c028691e65b9f45e7a8ff8ffbfb9a3818478b572.tar.xz qemu-c028691e65b9f45e7a8ff8ffbfb9a3818478b572.zip |
tests/acceptance/virtiofs_submounts.py: evaluate string not length
If the vmlinuz variable is set to anything that evaluates to True,
then the respective arguments should be set. If the variable contains
an empty string, than it will evaluate to False, and the extra
arguments will not be set.
This keeps the same logic, but improves readability a bit.
Signed-off-by: Cleber Rosa <crosa@redhat.com>
Reviewed-by: Beraldo Leal <bleal@redhat.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Willian Rampazzo <willianr@redhat.com>
Message-Id: <20210412044644.55083-3-crosa@redhat.com>
Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'qemu-edid.c')
0 files changed, 0 insertions, 0 deletions