Skip to content

Commit

Permalink
qemu.py: Fix syntax error
Browse files Browse the repository at this point in the history
Python requires parentheses around multiline expression. This fixes the
breakage of all Python-based qemu-iotests cases that was introduced in
commit dab91d9.

Signed-off-by: Kevin Wolf <[email protected]>
Message-id: [email protected]
Reviewed-by: Stefan Hajnoczi <[email protected]>
Reviewed-by: Alex Bennée <[email protected]>
Tested-by: Alex Bennée <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
  • Loading branch information
kevmw authored and pm215 committed Sep 18, 2017
1 parent 4f2058d commit f75637b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/qemu.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,8 @@ def launch(self):
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,
Expand Down

0 comments on commit f75637b

Please sign in to comment.