aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2017-09-18 07:25:24 +0200
committerPeter Maydell <peter.maydell@linaro.org>2017-09-18 11:32:22 +0100
commitf75637badd76ae0f3bd51a128e1a2da0d2bb1d6b (patch)
tree2a41cee5bbce4a38767433deb8139185331add9d /scripts
parent4f2058ded4feb2fa815b33b57b305c81d5016307 (diff)
downloadqemu-f75637badd76ae0f3bd51a128e1a2da0d2bb1d6b.zip
qemu-f75637badd76ae0f3bd51a128e1a2da0d2bb1d6b.tar.gz
qemu-f75637badd76ae0f3bd51a128e1a2da0d2bb1d6b.tar.bz2
qemu.py: Fix syntax error
Python requires parentheses around multiline expression. This fixes the breakage of all Python-based qemu-iotests cases that was introduced in commit dab91d9aa0. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Message-id: 20170918052524.4045-1-kwolf@redhat.com Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Tested-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/qemu.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qemu.py b/scripts/qemu.py
index 8c67595..5e02dd8 100644
--- a/scripts/qemu.py
+++ b/scripts/qemu.py
@@ -193,8 +193,8 @@ class QEMUMachine(object):
qemulog = open(self._qemu_log_path, 'wb')
try:
self._pre_launch()
- self._qemu_full_args = self._wrapper + [self._binary] +
- self._base_args() + self._args
+ self._qemu_full_args = (self._wrapper + [self._binary] +
+ self._base_args() + self._args)
self._popen = subprocess.Popen(self._qemu_full_args,
stdin=devnull,
stdout=qemulog,